简体   繁体   中英

Titanium iphone with Facebook connect to rails devise app

I'm developing an iPhone app with Titanium which is doing API calls to a Rails3 app with Devise/Omniauth.

And I just can't seem to get how to FB Connect in the app and then be able to auth my API calls. There's is a start here but it means that the user has to:

  1. FB Connect in the app
  2. Send the result to the rails app to get a devise token
  3. Ask for what it needs to using that token

Is there any way to directly use the result of Step 1 and get rid of Step 2?

Super thanks!

you can make the facebook connect calls directly from the titanium application.

http://wiki.appcelerator.org/display/td/280+Integrating+Contacts+&+Social+APIs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM