views:

35

answers:

3

Hey, did twitter change something in their API?

This no longer works for me: http://morethanseven.net/2007/01/20/posting-to-twitter-using-php.html

Anyone knows if it's something with my machine or just an API update from twitter?

Thanks,

+1  A: 

Twitter only supports oauth. You should use a library that supports oauth.

Alfred
+2  A: 

That script uses basic authentication, but Twitter discontinued support for basic authentication at the end of August. There's more information about OAuth in Twitter's OAuth FAQ.

Richard Fearn
+1  A: 
  1. Twitter stopped using Basic Authentication (ended 31 August 2010) and moved to OAuth. Use OAuth.
  2. Twitter API address has changed. The address to the Twitter API has also changed. View this doc to see how the status update is applied (http://twitter.com/statuses/update.xml has changed to http://api.twitter.com/1/statuses/update.xml).
  3. Your link provided, that documentation was written in 2007, January 20. The new Twitter API doc describes what has changed.
The Elite Gentleman