开发者

Facebook Graph API works in web browser, not in iOS SDK

I tried this in my web browser:

https://graph.facebook.com/<facebookID>/statuses?access_token=<my access token>

And I thought in iOS SDK this is the equivalent of that query:

NSString* gr开发者_StackOverflow中文版aphPath = [NSString stringWithFormat:@"%@/statuses",facebookID];
[_facebook requestWithGraphPath:graphPath andDelegate:self];

But that returns an empty JSON data... Am I doing something wrong in here? Other queries seems fine to me (e.g. @"me", @"me/statuses", @"me/friends")

I think this is also documented in http://developers.facebook.com/docs/reference/api/

More info:

I have read_stream permission


I figured it out... I need "friend_statuses" permission! I did not know that! =)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜