php - Android app custom user registration and login with cookie using facebook sdk -



php - Android app custom user registration and login with cookie using facebook sdk -

i developing android application in users need register , log in using facebook.

approximately, flow.

open app first time, authenticate facebook, data, send info server create them business relationship in application, start session new business relationship in server, cookie perform later interactions.

so far good.

what need know wich info have send server, can able identify users when log in seccond time. because need start session in server , send cookie android app farther interactions. i'm using php server side language.

i thinking getting getaccesstoken() in android facebook sdk, pass server on business relationship creation , storing in android app.

but can't manage how login users on sec time utilize app.

any suggestions ? in advance !

to uniquely identify user within app, should create request /me , user's id. guaranteed unique , remain constant user/app combination.

the access token not guaranteed remain constant.

php android cookies facebook-php-sdk facebook-android-sdk

Comments

Popular posts from this blog

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -