我遇到了Facebook图形API的问题,更确切地说是iOS SDK。用我的代码能够正常工作,但现在我在尝试做使用它时,这个错误描述(获得个人饲料,朋友的饲料,好友列表,...):iOS SDK中的Facebook图形API问题
Err details: Error Domain=facebookErrDomain Code=10000 "The operation couldn’t be completed. (facebookErrDomain error 10000.)" UserInfo=0x7113b80 {error=<CFBasicHash 0x7113910 [0x176e400]>{type = mutable dict, count = 2,
entries =>
2 : <CFString 0x7121e60 [0x176e400]>{contents = "type"} = <CFString 0x7113a20 [0x176e400]>{contents = "OAuthException"}
3 : <CFString 0x7113b40 [0x176e400]>{contents = "message"} = <CFString 0x7113a00 [0x176e400]>{contents = "An access token is required to request this resource."}
}
}
会有人有它的想法可能来自?
这里是我的源代码也:
facebook = [[Facebook alloc] initWithAppId:@"00000000000000"];
NSArray *permissions = [[NSArray arrayWithObjects:@"read_stream", @"publish_stream", @"offline_access",nil] retain];
[facebook authorize:permissions delegate:self];
[facebook requestWithGraphPath:@"1342568689/feed" andDelegate:self];
http://stackoverflow.com/的可能的复制问题/ 4950337 /获取随机-facebookerrdomain错误-10000 –