获取状态消息的隐私设置? [英] Getting the privacy setting of a status message?

查看:118
本文介绍了获取状态消息的隐私设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道是否可以查询隐私设置的状态更新?我知道你可以得到他们的相册,但对于我的应用程序,这将是有用的,可以拉一个随机的状态信息从一个回来,并说你分享这个帖子,每个人,你还会这样做今天吗?看看人们对在线分享的态度如何变化。



我没有任何想法,只是朋友,公共或自定义将是伟大的。 / 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆