开发者

Mobile Facebook Connect to my own server

开发者 https://www.devze.com 2023-03-07 06:43 出处:网络
On iOS (or any mobile), after a successful login, how should I handle login with my own server? Should I send开发者_运维百科 the token and user id to my server and re-verify it, or is there a better

On iOS (or any mobile), after a successful login, how should I handle login with my own server?

Should I send开发者_运维百科 the token and user id to my server and re-verify it, or is there a better practice?

I obviously don't want to send only the FB user id.


The FBConnect SDK should automatically save login information on the device, so every time the user goes to use the Facebook feature of your app, they are automatically logged in.


The current version of FBConnect doesn't provides obvious proxy authentication, but the old version did. I think you could create this proxy manually, ie. pass all login data, except api secret key to proxy, proxy adds secret key and sends request to FB. Then it returns response of FB server as it is.

0

精彩评论

暂无评论...
验证码 换一张
取 消