获取状态消息的隐私设置? [英] Getting the privacy setting of a status message?
问题描述
我没有任何想法,只是朋友,公共或自定义将是伟大的。 / p>
干杯
如果是用户自己的状态更新(即使用你的应用程序的人)这很容易获得,Post对象上有一个隐私
字段,我的/ feed连接的示例是:
隐私:{
description:朋友;除了:限制,
value:CUSTOM,
friends:ALL_FRIENDS,
deny:<我的受限列表的ID>
}
如果是在当前用户的墙上的一个朋友,我不知道/如何检索相同的数据
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
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
这篇关于获取状态消息的隐私设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!