Hi! i'm programming basic http post for twitter. I allready have my applicaton in the app's of twitter developers.
Ihave the Consumer key, Consumer secret, Access Token (oauth_token) and Access Token Secret (oauth_token_secret) Here is my code: POST /1/statuses/update.xml HTTP/1.1 Host: api.twitter.com Authorization: OAuth oauth_nonce=\"sdf78746x4v897sd8g45\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1286899405\", oauth_consumer_key=\"1LYqQbWtZ6jvtskMg1nGnA\", oauth_signature="%2BXCwW9MqFybLCRZgtXw1gaAQd6M%3D", oauth_token= \"57336211-iQXeMulz4Ibrgtq9Xb7q5SvjeJ6ovOYzK9QLlkdxV\", oauth_version= \"1.0\" Content-Type: application/x-www-form-urlencoded Content-Length: 15 status=SOROPEZA ** Can some one help me why i get this error: HTTP/1.1 401 Unauthorized Date: Tue, 12 Oct 2010 16:04:12 GMT Server: hi Status: 401 Unauthorized WWW-Authenticate: Basic realm="Twitter API" X-Runtime: 0.00286 Content-Type: application/xml; charset=utf-8 Content-Length: 150 Cache-Control: no-cache, max-age=1800 Set-Cookie: k=189.247.7.12.1286899452316939; path=/; expires=Tue, 19- Oct-10 16:04:12 GMT; domain=.twitter.com Set-Cookie: guest_id=128689945232176133; path=/; expires=Thu, 11 Nov 2010 16:04:12 GMT Set-Cookie: _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCKJJL6ErAToHaWQiJTQ3NThkNzM4MDA5MWEy %250ANzUzYjBhMzgxY2EwMWFmYjI1IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--6a6c68777540385753d80a98768550a26bdc738b; domain=.twitter.com; path=/ Expires: Tue, 12 Oct 2010 16:34:12 GMT Vary: Accept-Encoding Connection: close <?xml version="1.0" encoding="UTF-8"?> <hash> <error>Could not authenticate with OAuth.</error> <request>/1/statuses/update.xml</request> </hash> ** I don't know how to obtain THE auth_signature,oauth_nonce and the timestamp. THKS!!! -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk