我想取下面如何通过新图api,v2.5获得Facebook电子邮件的朋友列表?
GraphRequest request = GraphRequest.newMyFriendsRequest(
token,
new GraphRequest.GraphJSONArrayCallback() {
@Override
public void onCompleted(JSONArray array, GraphResponse response) {
// Insert your code here
}
});
request.executeAsync();
}
响应代码执行后返回使用的代码好友列表是
{Response: responseCode: 200, graphObject: {"data":[],"summary":{"total_count":461}}, error: null}
Persmission到access friends
和public profile
被授予登录时间。 我如何获取我的朋友列表和他们的公共电子邮件/ Facebook电子邮件?