Twitter Following

I am developing an app for a client. In this app, he would like a Twitter “Follow” button allowing the user to follow his group on Twitter. I have seen several examples on how to post to twitter but none on how to follow. Has anyone done this? Is it even possible from an app?

Thanks

Christian [import]uid: 69863 topic_id: 19790 reply_id: 319790[/import]

I used to know how, but Twitter has changed their API around so much it’s not even funny.

Basically you have to login using OAUTH then then hit a URL based on their rest API to create a new friendship.

So once you get your app logged in OATH, call network.request() api call with the right GET URL to create the friendship. You should be able to google around and get the right URL for it.

Now of course you could just link to their twitter page in Safari and let them them add them that way.

Hopefully Ansca will be coming out with better Twitter support since iOS5 has it built into the OS now., but that won’t help Android too much.

[import]uid: 19626 topic_id: 19790 reply_id: 76726[/import]