bengottlieb / Twitter-OAuth-iPhone

An easy way to get Twitter authenticating with OAuth on iPhone
http://www.standalone.com
799 stars 155 forks source link

Multiple View Controllers #83

Open canzhiye opened 13 years ago

canzhiye commented 13 years ago

I'm trying to make a tab bar application with SA_OAuthTwitterEngine. The home tab currently works fine, but I don't know how to handle switching tabs (view controllers). I tried making a singleton class of SA_OAuthTwitterEngine, but whenever I switch views I get the "Woah there! It looks like someone already used the token information you provided." message. Any help is appreciated, thank you so much!

canzhiye commented 13 years ago

Here's my code, if you wanna take a look -> http://www.mediafire.com/?wr825g53vr0zaph

pmairoldi commented 13 years ago

Ok. you app does allow you to switch tabs but the thing is doesn't do is know whether the user is signed in or not. Is this a limitation of the class that you can't login only once to do things in multiple views.