php - Check if user is logged in with facebook -
i have mobile app communicates server.
mobile user has opportunity login:
- directly app
- by using facebook
in first situation, after logging in, generate token used authenticate logged in user.
want implement same facebook on server side.
after searching, found accesstoken after fb login used this.
made test onto localhost data - facebook login, accesstoken , https://graph.facebook.com/me?fields=id&access_token url , fb returns id.
logged out , sent access token url , facebook returned again id.
i'm expecting no validation message.
can me on this?
Comments
Post a Comment