Twitter and Facebook on iPhone - save sessions across app launches?

Posted by lostInTransit on Stack Overflow See other posts from Stack Overflow or by lostInTransit
Published on 2010-06-14T04:29:34Z Indexed on 2010/06/14 4:32 UTC
Read the original article Hit count: 254

Filed under:
|
|
|

Hi

I am using OAuth for twitter and fb-connect for facebook authentication in my iPhone app. Is it possible to save the user sessions across app launches?

i.e. if the user logs in once, the next time they launch the app, we log them in automatically from some state saved the last time the app closed?

For Twitter would it work if I just save the auth_token and use it every time the user wants to use twitter from my app? Or do I need to do anything else? I could not get it to work like that so wondering if I was doing something wrong.

Thanks.

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about twitter