huuanh1987 / facebook-java-api

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

Unable to get logged in user #344

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Login into facebook ( via their site )
2. Attempt to get FacebookJaxbRestClient.users_getLoggedInUser(). 

What is the expected output? What do you see instead?
Should return the logged in user id. Instead it throws a FacebookException - 
session key is invalid

What version of the product are you using? On what operating system?
3.0.2/Windows XP

Please provide any additional information below.
FacebookWebappHelper.getUser() also returns null

Original issue reported on code.google.com by itsku...@gmail.com on 22 Mar 2011 at 3:00

GoogleCodeExporter commented 8 years ago
There is a patch with issue 342 that fixes cookie parsing, which could be your 
problem.  Take a look at the FB cookies and if they start with fbs_ followed by 
the FB app id, then that is probably the issue.  Hope that helps.  Please add a 
comment to issue 342 if this addresses your problem.

Original comment by edru...@gmail.com on 30 Jun 2011 at 4:24