Closed mmaryo closed 7 years ago
Do you use FB connect on a web site and connect though the FB JS SDK?
If you do, check that you have a cookie named fbsr_${YOUR_APP_ID}
once you are authenticated.
The plugin detect this cookie and parse it to get userId / tokens.
Hi
I use spring security facebook authentification plugin I'll trie to add this cookie and give you a response
Cheers
This cookie can only be set by Facebook JS SDK (FB.login method). I suppose that Spring Security Facebook Authentication plugin already does that. My recommandation would be to use only this plugin for authentication and use directly RestFB lib if you want to make Graph API calls?
Hi,
I trie to use this plugin.
I connect the user to facebook with Spring Security Facebook
Then I display a page :
The problem is userId is always 0
So I trie to use :
userId stay 0
In getId() in FacebookContextUser I see :
So maybe I can pass variable throught session
But the problem is
and the _id is always 0
Can you help me