Re: [twitter-dev] 401 Not Authorized in API OAuth PHP authorization

2011-03-21 Thread @matheuseduardo
just a question: for request, the time need to be GMT 0? -- 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

Re: [twitter-dev] 401 Not Authorized in API OAuth PHP authorization

2011-03-21 Thread @matheuseduardo
I'm doing another try.. and this time I trying with Wootterhttp://woorales.com/wootter/ that is a twitter opensource clienthttp://sourceforge.net/projects/wootter/files/ . Then I've downloaded and just change the keys in config.php. In Demo serverhttp://woorales.com/wootter/is right working...

Re: [twitter-dev] 401 Not Authorized in API OAuth PHP authorization

2011-03-19 Thread Matt Harris
Hi, The error message Failed to validate oauth signature and token does mean either the signature you are sending, or the consumer token is invalid. Could you share the request you are making, and response you are getting. Remember to obscure any user or consumer secrets. Best, @themattharris

Re: [twitter-dev] 401 Not Authorized in API OAuth PHP authorization

2011-03-18 Thread Scott Wilcox
Checked your tokens are correct? On 18 Mar 2011, at 12:01, @matheuseduardo wrote: I have tested the api twitter with at least four solutions (one of them everworked before, months ago) in PHP, and getting the same error: 401 Not Authorized. Is there any novelty, any prior authorization

Re: [twitter-dev] 401 Not Authorized in API OAuth PHP authorization

2011-03-18 Thread @matheuseduardo
Yep! And try to reset keys, delete application, create other, create other in other user... and nothing worked as well! I've downloaded some ready for test examples from github, from posts.. nothing. Even the popular @abraham's Twitter OAuth library for

Re: [twitter-dev] 401 Not Authorized in API OAuth PHP authorization

2011-03-18 Thread Scott Wilcox
Check the time is accurate on the machine you're running the code on. On 18 Mar 2011, at 18:28, @matheuseduardo wrote: Anyone using PHP having this same problem? Anyone with sample working code to send me? Even using https://github.com/abraham/twitteroauth ? -- Twitter developer

Re: [twitter-dev] 401 Not Authorized in API OAuth PHP authorization

2011-03-18 Thread @matheuseduardo
seems to be ok the function that generate the is just: function generate_timestamp() { return time(); } and in header I have the parameter: [oauth_timestamp] = 1300471769 the error received from request in twitter api is: Failed to validate oauth signature and token and header 401 Must be