【发布时间】:2011-03-29 22:46:18
【问题描述】:
我正在使用 Facebook Graph API,我想知道是否可以在一次调用中获取所有用户及其当前状态的列表?
我基本上想要与https://graph.facebook.com/me/friends 相同的结果,但每个对象都包含当前状态。
感谢您的帮助!
编辑:
这里有一些说明。如果https://graph.facebook.com/me/friends?access_token=... 告诉我这个:(也就是我所有朋友的列表)
{
"data": [
{
"name": "Foo",
"id": "1"
},
{
"name": "Bar",
"id": "2"
},
{
"name": "Foo Bar",
"id": "3"
},
{
"name": "Bar Foo",
"id": "4"
}
]
}
什么 URL 或 FQL 会告诉我这个:(也就是我所有朋友及其状态的列表)
{
"data": [
{
"name": "Foo",
"id": "1"
"status": "This is my current status!"
},
{
"name": "Bar",
"id": "2"
"status": "This is my current status!"
},
{
"name": "Foo Bar",
"id": "3"
"status": "This is my current status!"
},
{
"name": "Bar Foo",
"id": "4"
"status": "This is my current status!"
}
]
}
我只想打一个电话,因为与我不同,大多数人都有 100 多个朋友,我不想为了获得状态而必须打 100 多个电话。
【问题讨论】:
-
2500+ 次观看,没有 +1?爱在哪里!? :)
标签: json facebook facebook-graph-api