I’m having trouble getting the user’s profile pic with the new Facebook SDK. All the answers on here use methods from the old SDK that no longer work.
I’ve tried using the FBProfilePictureView recommended in Facebook’s tutorial, but this picture doesn’t get cached and I don’t think it can be converted into a UIImage.
Can anyone please provide some help? Thanks!
OK, I finally got this using the following:
Then I used
-(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)dataand-(void)connectionDidFinishLoading:(NSURLConnection *)connectionto put the image together.