huuanh1987 / facebook-java-api

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

ErrorCode.SESSION_INVALID has wrong error code #165

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make an API call to users_isAppUser with an expired session key.
2. Catch the FacebookException and call getCode() on the exception object
to get the code for invalid session key

What is the expected output? What do you see instead?
Expected from facebook-java-api code: ErrorCode.SESSION_INVALID set to 452 
Actual from Facebook REST Server: code 102

The FB wiki shows the code is now 102. (It appears that it used to be 452)
http://wiki.developers.facebook.com/index.php/Error_codes

What version of the product are you using? On what operating system?
facebook-java-api-2.0.4
Mac OS 10.5

Please provide any additional information below.

Original issue reported on code.google.com by edwardo...@gmail.com on 31 Jan 2009 at 12:13

GoogleCodeExporter commented 8 years ago
Added JUnit test and fixed on trunk and composition branches. Thanks.

Original comment by david.j....@googlemail.com on 1 Mar 2009 at 5:10