Post Twitter message from iPhone app with OAuth

How can I post a message on Twitter from my app using OAuth authentication? I'd like to post an invariable message with a variable link... How can I do this? Any source? Any tutorials?

Thanks a lot!

Answers


Use an OAuth library such as:

http://github.com/jdg/oauthconsumer http://github.com/bengottlieb/Twitter-OAuth-iPhone

There are various tutorials out there like:

http://www.jaanuskase.com/en/2010/01/an_example_iphone_twitter_app.html

It can be tricky, especially since twitter has changed since some of the popular iPhone implementations were written, but this will give you a place to start.


Need Your Help

Why doesn't my code go in the keyPressed() method? (Even if i press keys)

java graphics keypress keylistener keyevent

I'm trying to create a brickbreakers game. Obviously i'm still struggling with the beginning of it. I need my "block" to move but if i press some key my code won't even go in the keyPressed()-method.

Why use sleep when creating a posix timer?

c++ multithreading posix

I am trying to learn about timer for posix. I am using the linux man page for an example. The man page create the timer then uses sleep to put the timer to sleep. Why create a timer if you use s...