Ruby on Rails
Thursday, January 17, 2013
2013/1/17 Nicolas Desprès <nicolas.despres@gmail.com>
The mobile app should do the login process. It then should send to the server the "access token" given by Facebook.
With this token you are able to identify your user through the "graph api".
Ignacio Piantanida
-- On Wed, Jan 16, 2013 at 6:17 PM, Vitor HP <vitorhp2@gmail.com> wrote:--Hi folks.Hi,I'm building a rails app that provides an api for a mobile app.I have the same setup.The mobile app requires the user to login through his facebook account.My question is about who should be responsible for requesting the login.The mobile app or the rails app.So far, the mobile app login using the Facebook SDK and use that information to log into the Rails app. The Rails server uses Devise+Omniauth.Right now I am not really happy with this since I can't figure out how the Rails app can use the login information retrieved via the mobile app to interact with the Facebook platform.I will write more as soon as I have further information.Regards,
Nicolas Desprès
The mobile app should do the login process. It then should send to the server the "access token" given by Facebook.
With this token you are able to identify your user through the "graph api".
Ignacio Piantanida
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment