我找不到关于这个sdk的任何基本文档(是我太愚蠢了还是找错了地方?)。我不知道这个方法是什么:
- (void)request:(FBRequest*)request didLoad:(id)result在请求的情况下,实际返回如下:
requestWithGraphPath:@"me/friends"或者这样:
requestWithGraphPath:@"me"结果似乎是一个nsdictionary,但我不知道它会有什么用处,等等。
发布于 2010-11-04 09:30:46
已使用以下代码确认
if ([result isKindOfClass:[NSDictionary class]]) {
NSLog(@"count : %d ", [result count]);
NSArray* resultArray = [result allObjects];
NSLog(@"count : %d ", [result count]);
result = [resultArray objectAtIndex:0];
NSLog(@"count : %d ", [result count]);
result = [result objectAtIndex:0];
[self.label setText:[result objectForKey:@"name"]];
}发布于 2011-07-24 22:55:10
如果我理解您的问题,您正在查找Facebook的Graph API调用的文档。你可以在这里找到它:
http://developers.facebook.com/docs/reference/api/
https://stackoverflow.com/questions/3628546
复制相似问题