Hi Tom, Thank you very much for helping me, but I'm still with failures.
Now the response from Twitter is different, but I can't say it's because I've improve my code... I've added your recommendations, basicaly: .- str_replace improvements .- delete consumer secret key from request .- set the authorization header .- not urlencoding again the post body Now the response is as follows: HTTP/1.1 401 Unauthorized Date: Sun, 05 Sep 2010 10:15:08 GMT Server: hi Status: 401 Unauthorized X-Transaction: 1283681708-66911-2656 Last-Modified: Sun, 05 Sep 2010 10:15:08 GMT X-Runtime: 0.00720 Content-Type: text/html; charset=utf-8 Content-Length: 44 Pragma: no-cache X-Revision: DEV Expires: Tue, 31 Mar 1981 05:00:00 GMT Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post- check=0 Set-Cookie: k=77.228.28.45.1283681708214986; path=/; expires=Sun, 12- Sep-10 10:15:08 GMT; domain=.twitter.com Set-Cookie: guest_id=128368170822042500; path=/; expires=Tue, 05 Oct 2010 10:15:08 GMT Set-Cookie: _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCL1oZOEqAToHaWQiJTM0OTkwNTcyMzUwZGFm %250AZWFlMDU3N2Q2YzgzMDYyYjZjIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--002c700da5387afac77e4a980cb36f841c00ca31; domain=.twitter.com; path=/ Vary: Accept-Encoding Connection: close Failed to validate oauth signature and token Any idea? Regards, Herman. -- 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?hl=en
