I am trying to publish actions to a user\'s wall using the Open Graph API.
I requested the \'publish_actions\' permission, enabled the \'Enhanced Auth Dialog\', my role
Probably $app_id
is not the id of user owning the access_token
.
You better use /me/liveluvcreate:viewabc
just to be sure you publishing action to user owning access_token
and who have publish_actions
granted to your app.
$facebook->api('/me/liveluvcreate:viewabc', 'post', $data);
I know it might be very late to post an answer[but it might be helpful to others], but as of 2014 if you want to post anything to the user[apart from the app registered developer] timeline you need Facebook permission i.e the app needs to be submitted for approval Please refer the following link https://developers.facebook.com/docs/facebook-login/permissions/v2.0
you can check that it's right below the overview section.