Multiple login for TwitterAgent

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

TwitterAgent is updated and a new feature is added by your request. I received some requests on multiple login option for TwitterAgent and updated the agent there by. Now a logout option is added to login again with a different userid.

Add twitter agent code to your project

You can checkout the latest code from the google project or can use the folder available in attached demo project below.
Paste the xutils folder into your project directory.

Now, right click on the project in xcode and add the xutils folder.

Add SBJSON

SBJSON is also required for the project. You can have one copy of sbjson source in the attached project.

Add twit code

Add a button and in its event handler method add the following lines:

[[TwitterAgent defaultAgent] twit];

After logging in, you will find a new button available on top right corner, that is the logout button!

TwitterAgent Logout option

On the next version, there will be option to manage batch twit account! Don’t forget to check back soon!

Download Demo project




Add to Google Reader or Homepage


blog comments powered by Disqus