eyhan / facebook-java-api

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

FBConnect authentication not working #342

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use the sample FacebookUserFilter with a FBConnect website that uses the FB 
JavaScript API to authenticate with FB. 

What is the expected output? What do you see instead?
The filter should pick up on app cookies sent to the site when the user is 
logged in to FB.

What version of the product are you using? On what operating system?
Have used 3.0.0.4, 3.0.0.5 and trunk as of 1/16/2011

Please provide any additional information below.
The current code does not detect the FB cookies format correctly. The cookie 
name has changed to fbs_<<api_key>>.  The attached patch adds support for the 
new cookie and signature format while attempting to keep existing support in 
place.  I hope this helps.  The patch can be applied from the source root 
directory with:

   patch -p0 -i ../facebook-java-api.patch

Original issue reported on code.google.com by edru...@gmail.com on 17 Jan 2011 at 4:17

Attachments:

GoogleCodeExporter commented 8 years ago
Oops, last patch was not complete.  Use this file instead. 

Original comment by edru...@gmail.com on 17 Jan 2011 at 3:21

Attachments: