nourelhoudabenahmed / facebook-java-api

Automatically exported from code.google.com/p/facebook-java-api
0 stars 0 forks source link

FacebookXmlRestClient.friends_get() returns empty object #305

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I've downloaded the 3.0.2 version of the library and I can't get any 
response from friends_get(). All examples I can find on the web use a 
getResponsePOJO() method that has now disapeared, so I'm really unsure of 
if it's my code or a library issue.

   FacebookWebappHelper<Document> facebook = new 
FacebookWebappHelper<Document>(request, response, "xxx", "xxx", 
userClient); 
   long user = userClient.users_getLoggedInUser();
   System.out.println("user = " + user);
   Document resp = (Document)userClient.friends_get();
   System.out.println("response = " + resp);

Output is :-

   SystemOut     O user = <my id>
   SystemOut     O response = [#document: null]

Regards,
Glen.

Original issue reported on code.google.com by gbur...@gmail.com on 28 Mar 2010 at 7:41

GoogleCodeExporter commented 8 years ago
Please ignore, apparentely [#document: null] doesn't mean the object is empty ;)

Original comment by gbur...@gmail.com on 28 Mar 2010 at 7:50