Charlie
Charlie

Reputation: 11767

Twitter REST API, update status?

I am wanting to allow a user to update their twitter status from my website. I was planning on using Twitter's @anywhere feature, but this was not a very friendly solution:

Then I found the Twitter REST API: https://dev.twitter.com/docs/api

Using OAuth, I want the user to be able to login, and then update their status using that API. I've been trying to find tutorials on this, but I haven't found any that use the REST API to update the Twitter Status.

Does anyone have code for/know of a tutorial for what I'm looking for?

Upvotes: 0

Views: 3464

Answers (2)

arcain
arcain

Reputation: 15270

Adam Green has a nice tutorial in PHP that walks you through everything from setting up your application on the Twitter developer site to posting your first tweet.

Upvotes: 1

virushuo
virushuo

Reputation: 660

Just post the data to update api endpoint.

You can read twitter update api doc for details : https://dev.twitter.com/docs/api/1/post/statuses/update

And there is a open source twitter client written in PHP, named dabr. http://code.google.com/p/dabr/

Upvotes: 2

Related Questions