Question

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);
                      }];
Was it helpful?

Solution

you can also get facebook cover pic by simply calling

http://graph.facebook.com/{user_id or page_id}?fields=cover
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top