开发者

Mobile Facebook Connect to my own server

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜