ianlee-dev / facebook-java-api

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

FB_SERVER in FacebookRestClient.java is pointing to old API server #80

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

In FacebookRestClient.java of facebook-java-api-source-1.8-final.zip, 
FB_SERVER = "api.facebook.com/restserver.php";  

Shouldn't it point to "api.new.facebook.com/restserver.php"?

What is the expected output? What do you see instead?
Some API calls didn't work as I expected when I used old api server. For 
instance, facebookRestClient.users_isAppAdded(xxxxx) returned false even 
the user I passed in has installed the application.  After I changed the 
API server to new one, the result is correct.

What version of the product are you using? On what operating system?
1.8 final. Windows XP prof.

Please provide any additional information below.

Original issue reported on code.google.com by renxian...@gmail.com on 5 Aug 2008 at 6:45

GoogleCodeExporter commented 8 years ago
Using the old server also makes it impossible to call some sessionless API 
methods, 
e.g. calling users_getInfo without a sessionKey (which is allowed in the new 
API). 
Switching to the new server solves this.

Original comment by dles...@gmail.com on 24 Aug 2008 at 11:26

GoogleCodeExporter commented 8 years ago
we encourage you to start looking at the 2.0.0-SNAPSHOT builds for the most 
recent
code.  The 1.8xxx branch might not be as well supported.. sorry.

look at the wiki, "MavenSupport" to read how to get access to the 
2.0.0-SNAPSHOT.

Original comment by fern...@gmail.com on 28 Aug 2008 at 10:29