Getting the privacy setting of a status message?

£可爱£侵袭症+ 提交于 2019-12-20 05:22:08

问题


Does anyone know if it's possible to query the privacy settings for status updates? I know you can get them for photo albums, but for my application it would be useful to be able to pull up a random status message from a while back and say "You shared this post with everyone, would you still do this today?" to see how people's attitudes to sharing online change.

I'm not after anything fancy, just "friends", "public" or "custom" would be great.

Cheers


回答1:


If it's a user's own status updates (i.e the person who's using your app) this is easily obtained, there's a privacy field on the Post objects, and example from my /feed connection is:

 "privacy": {
        "description": "Friends; Except: Restricted", 
        "value": "CUSTOM", 
        "friends": "ALL_FRIENDS", 
        "deny": "< ID of my restricted list >"
}

If it's on a friend of the current user's wall i'm not sure if/how to retrieve the same data



来源:https://stackoverflow.com/questions/10894414/getting-the-privacy-setting-of-a-status-message

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