Has anyone seen this issue? I'm probably doing it wrong, please advise.
If I run the following:
I get back:
{
"first_name": "Brian",
"last_name": "Richardson",
"locale": "en_US",
"timezone": -6,
"gender": "male",
"id": "1396393037145674"
}
Using:RestFB 2.0.0-rc.3
Java code:
final FacebookClient pageClient = new DefaultFacebookClient(pageAccessToken, Version.VERSION_2_9);
User user = pageClient.fetchObject(facebookUserId, User.class, Parameter.with("fields", "first_name,last_name,profile_pic,locale,timezone,gender"));
At this point user contains no profile picture info, even though it is returned in the JSON. The other fields however are populated.