获取FB好友聊天状态
Get FB friend chat status
我正在将我的应用图 API 版本升级到 2.xx 版本。
我有一个游戏,我可以在其中与在线的 facebook 好友聊天,或者在他们离线时邀请他们玩。
我通过调用图 API 来获取我的 facebook 好友列表:
FB.api(
"/me/friends",
函数(响应){
如果(响应 && !response.error){
....
}
});
在新的 API 中,用户对象没有名为 'online_presence' 的字段。
我的数据 returns 只包含朋友的姓名和 ID。
如果我尝试使用 FQL 查询,我只会得到 'offline'.
的用户
有没有办法知道好友的facebook聊天状态?
All friends_* permissions have been removed.
查看更新日志https://developers.facebook.com/docs/apps/changelog
这不可能了。很抱歉告诉你!
我正在将我的应用图 API 版本升级到 2.xx 版本。
我有一个游戏,我可以在其中与在线的 facebook 好友聊天,或者在他们离线时邀请他们玩。 我通过调用图 API 来获取我的 facebook 好友列表:
FB.api( "/me/friends", 函数(响应){ 如果(响应 && !response.error){ .... } });
在新的 API 中,用户对象没有名为 'online_presence' 的字段。 我的数据 returns 只包含朋友的姓名和 ID。 如果我尝试使用 FQL 查询,我只会得到 'offline'.
的用户有没有办法知道好友的facebook聊天状态?
All friends_* permissions have been removed.
查看更新日志https://developers.facebook.com/docs/apps/changelog
这不可能了。很抱歉告诉你!