How to programmatically publish to a facebook feed for a liked webpage?

前端 未结 2 1439
心在旅途
心在旅途 2021-01-27 07:50

I\'m trying to get this to work: https://developers.facebook.com/blog/post/465/

Step 1: I\'m getting an access token:

https://graph.facebook.com

相关标签:
2条回答
  • 2021-01-27 08:13

    Going by the blog post this is done via an app, for this to work the app needs the extended permissions 'publish_actions' and 'publish_stream' in order to make posts/comments/likes/links

    0 讨论(0)
  • 2021-01-27 08:25

    From the Facebook Graph API docs:

    Most write operations require extended permissions[1] for the active user.
    See the authentication guide[2] for details on how you can request extended
    permissions from the user during the authentication step.
    

    1 https://developers.facebook.com/docs/authentication/permissions

    2 https://developers.facebook.com/docs/authentication/

    0 讨论(0)
提交回复
热议问题