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