views:

70

answers:

0

Dear All,

I've been trying for couple days now without luck, I managed to use the example.php that comes with PHP-SDK and worked perfectly. I just need to store the returned session and use it later on so I could access without re-authenticating.

I tried storing the sessions in a serialized field in a database and then, restoring the data, unserializing it and using setSession function in the php-sdk to retrieve the authentication. Unfortunately, that did not work,

Here is a link to a previous question with the code samples..

http://stackoverflow.com/questions/3742137/facebook-oauth-retrieve-information-based-on-stored-session

Please advice?