好吧,这是我的收获
public GraphResponse Get(String query,Bundle parameters)
{
final GraphResponse[] respuesta = new GraphResponse[1];
/* make the API call */
new GraphRequest(
AccessToken.getCurrentAccessToken(),
query,
parameters,
HttpMethod.GET,
new GraphRequest.Callback() {
public void onCompleted(GraphResponse response) {
/* handle the result */
respuesta[0] =response;
}
}
).executeAndWait();
return respuesta[0];
}
这适用于me
查询现在我尝试使用me/groups
查询,现在如果我尝试获取用户所属的所有组,我得到了
{
"data": [
]
}
这也发生在资源管理器中
https://developers.facebook.com/tools/explorer/
在这最后,我选择了所有许可和特别许可,我得到了相同的答案。
那么我的问题是,如果没有办法在 V2.5 上获取此列表,我如何(继续使用 2.5 版)“更改”(仅)此查询的版本到 2.3,它确实有效?
我试着做这个查询 /v2.3/me/groups
,但我得到了空白的答案。
我的应用程序 facebook 是“今天”创建的