【发布时间】:2013-04-28 20:47:36
【问题描述】:
我可以通过这个 NSURL 成功获取好友列表,使用权限“publish_stream”:
NSURL *friendsList = [NSURL URLWithString:@"https://graph.facebook.com/me/friends
但是,当我尝试使用添加的字段进行相同操作时,如在此 URL 中:
NSURL *friendsList = [NSURL URLWithString:@"https://graph.facebook.com/me/friends?fields=installed"];
我收到一个错误:
error = {
code = 2500;
message = "An active access token must be used to query information about the current user.";
type = OAuthException;
};
所以我的问题是我应该要求什么权限才能使第二个 URL 工作?
额外问题:我应该包含什么 URL 参数才能在同一个 JSON 对象中返回一个小的个人资料图片?
谢谢:)
【问题讨论】:
标签: ios facebook permissions