I have a Facebook singleton and request this to get a profile picture:
[[[FacebookScorer sharedInstance] facebook] requestWithGraphPath:@\"me/picture?type=no
This can be solved by getting the data from the request:
- (void)request:(FBRequest *)request didLoad:(id)result{
result = request.responseText;
if ([result isKindOfClass:[NSData class]])
{
...
}
if ([result isKindOfClass:[NSDictionary class]])
{
...
}
Not the most elegant solution, and I still don't know why the result is nil. But it works.
Hope this helps!