Facebook message API privacy settings, is the message shown in the timeline?

孤街醉人 提交于 2019-12-11 06:39:37

问题


Currently I'm working on a simple Facebook App which posts message to boards of different users. I got this to work, but we don't want to show this message in the timeline. Of course the best solution for this is sending a private message, but for my understanding the API is currently not able to do that.

So my question is: following this https://developers.facebook.com/docs/reference/api/post/ API description should I use the NO_FRIEND flag in the privacy setting to prevent it for showing in the timeline? Or ar there other flags that can do that?

Thanks in advance,


回答1:


Here's the part I think you didn't see in the API documentation:

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.

So, the privacy only deals with posts to the user's wall.



来源:https://stackoverflow.com/questions/8795463/facebook-message-api-privacy-settings-is-the-message-shown-in-the-timeline

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