前回、自分のアルバム情報を取得する方法を書きましたが、選択したアルバムの中にある写真はどうすれば取れるのか調べた。
/{album-id}/photosを見ると、下のように問い合わせをすればいいようだ。
NSString *albumid; [FBRequestConnection startWithGraphPath:[NSString stringWithFormat:@"/%@/photos",albumid], completionHandler:^(FBRequestConnection *connection,id result,NSError *error){ NSLog(@"%@",result); }];実行した結果、確かに、取得できた。
0 コメント:
コメントを投稿