how to post facebook user wall/ page status by a single user only no app install for other users

后端 未结 2 1338
一生所求
一生所求 2021-01-06 12:30

I am working on a site and i need to post page links from that site to a special user wall or page if something is published on it which means i only need one user to post t

2条回答
  •  被撕碎了的回忆
    2021-01-06 13:24

    To post to someones wall (or perform any action with the open graph) you must be authenticated with facebook as somebody in their graph or an application that they have granted permission to.

    You should look at the permissions that can be set using the oauth scope attribute...

    https://developers.facebook.com/docs/reference/dialogs/oauth/

    To me it looks like they will need to grant your application publish_stream if you want to write to their friends walls as well as the user that you are authenticated as.

    https://developers.facebook.com/docs/reference/login/extended-permissions/

提交回复
热议问题