Posting to a friends wall on facebook privately using graph api

前端 未结 3 1616
被撕碎了的回忆
被撕碎了的回忆 2021-01-06 05:24

I wanted to post a feed to a friends wall from my app and set it as private, which is viewable to the logged in user and the friend. I want to do this using the new Graph ap

3条回答
  •  抹茶落季
    2021-01-06 06:04

    I don't think Facebook allows you to do this currently. Look at the graph API docs on Posting:

    http://developers.facebook.com/docs/reference/api/post/

    it says on privacy:

    "Note: This privacy setting only applies to posts to the current or specified user's own Wall. Facebook ignores this setting for targeted Wall posts (when the user is writing on the Wall of a friend, Page, event, group connected to the user). Consistent with behavior on Facebook, all targeted posts are viewable by anyone who can see the target's Wall. "

    I interpret this to mean that if you post on someone else's wall (feed), privacy is out of your control.

提交回复
热议问题