Quantcast
Viewing all articles
Browse latest Browse all 145

Using a Facebook token received from a native iOS/ Android client

Hi,

We are already successfully using Spring Social Facebook to register/ login users to our web server.

We are now developing mobile native apps (iOS/ Android) on top of our web server. In the apps we would have the facebook SDK login the user to facebook and then we will have a Facebook Token. We would like to pass this token from the native app to our web server. We need the server to use the token to call the Facebook API and get user info and then we would create a local account for the user on our server. If such an account already exists, we would just use the token to login the user into our app.

My question is: How would we handle the received token so that it is used by the Spring Facebook infrastructure? We need to plug it into the flow we already have for Facebook Connect via the web. Any ideas?

Also, can a token that was generated on the client (iOS/ Android native Facebook SDK) used on the server?

This thread discusses this vaguely: http://stackoverflow.com/questions/4...s-a-secured-we but is rather old.

Viewing all articles
Browse latest Browse all 145

Trending Articles