mercredi 1 avril 2015

after destroySession method getUser doesn't work also api('/me')

everything was working fine until i killed the cookie and the session of the specific user (me), with the app, now getUser always return 0, and api('/me') returns nothing...


don't know how to restore it, i created new app with new app_id and secret, it still doesn't work anymore, i take basic info from user, profile + email


i used this code to kill the login of the user to the app:


setcookie('fbs_' . $facebook-> getAppId(),'',time()-100, '/','mydomain.com');


$facebook -> destroySession();


any suggestions? im using php sdk 3.2.3


Aucun commentaire:

Enregistrer un commentaire