简体   繁体   中英

Facebook login Permission API

I have an iPhone App that uses Facebook Login and i have a particular question. When the user is asked "XYZ App would like to post publicly to Facebook for you. Who should be able to see these posts?

-Public -Friends -Only Me

The question is this. Is it is possible to see what selection was made by the user whether he selected Public, Friends or Only Me?

Any insights or thoughts on this, is very appreciated.

thanks

不,应用程序无法查看用户为应用程序启用的隐私设置。

Hi this is quite tricky question.

But it takes some time to investigate Facebook docs and that have parameter to describe privacy of the app.They have object app that contains all information that you need. Object parameter is auth_referral_default_activity_privacy .

You cannot get the exact info but you can have a clue if the post was either deleted or it was not set to be shared to public

How?

You can get a Graph call with a specific post id. If it returns an error, either the post was deleted or was not shared to public.

However, you cannot retrieve any exact info about users' sharing preferences (Public - Friends - Only Me)

Hope this helps :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM