문제

How can i get the cover of a profile with the FacebookSDK in iOS?

 [FBRequestConnection startWithGraphPath:@"/me/events?fields=cover"
                             parameters:nil
                             HTTPMethod:@"GET"
                      completionHandler:^(
                                          FBRequestConnection *connection,
                                          id result,
                                          NSError *error
                                          ) {

                          /* handle the result */
                          NSLog(@"%@", result);
                      }];
도움이 되었습니까?

해결책

you can also get facebook cover pic by simply calling

http://graph.facebook.com/{user_id or page_id}?fields=cover
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top