问题
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