Closed confile closed 11 years ago
I need cookies that live longer than the browser session. I.e. One year. How do you handle that? Do I have to request this from facebook during authentication?
I don't think that it is possible. For security reason, Facebook will probably not allow that.
Le 14 mars 2013 à 15:35, "Michael G." notifications@github.com a écrit :
I need cookies that live longer than the browser session. I.e. One year. How do you handle that? Do I have to request this from facebook during authentication?
— Reply to this email directly or view it on GitHub.
Have you tried to use the exchangeToken() method from FacebookContextUser?
It will store the long term token in the session scope (and/or you can save it in DB). I don't think you can get a long term signed cookie from Facebook.