1

目前,我的计划是查询用户的相册,然后遍历这些相册并获取所有图像。有没有完全跳过专辑步骤的好方法?这是我用来获取他们的专辑信息的代码:

[FBRequestConnection startWithGraphPath:@"me/albums"
                      completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
                          if (!error) {
                              NSLog(@"Results: %@", result);
                          }
                      }
 ];

如果我可以进行类似的查询,只获取照片,那将是完美的。提前致谢!

4

1 回答 1

1

Simply fetch the data through this url:

http://graph.facebook.com/philiparpin/picture

Replace philiparpin (my name) with the name of the user you want to get the photo of.

Resource:

http://developers.facebook.com/docs/api

于 2013-08-28T22:15:41.627 回答