Facebook Open Graph API returns: (#200) Requires extended permission: publish_actions

我们两清 提交于 2019-12-02 01:51:37

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!