我已经更新了我的Android Facebook SDK到2.3,我不能再使用FQL请求了。
我如何通过Facebook Graph API请求获得我的“好友请求”?
我有什么解决方案?
谢谢你的帮忙
发布于 2015-04-29 22:35:20
更新了答案
这是**deprecated**,你不能再得到这个了
Documentation说/me/friendrequests在Graph API1.0之后被删除了
本文档指的是Graph API v1.0之后删除的一项功能。
/* make the API call */
new Request(
session,
"/me/friendrequests",
null,
HttpMethod.GET,
new Request.Callback() {
public void onCompleted(Response response) {
/* handle the result */
}
} ).executeAsync();权限
需要具有read_requests权限的用户访问令牌才能查看当前用户收到的好友请求。
Graph explorer说
{
"error": {
"message": "(#12) friend requests is deprecated for versions v2.0 and higher",
"type": "OAuthException",
"code": 12
}
}https://stackoverflow.com/questions/29946509
复制相似问题