Re: [twitter-dev] Re: Help with xAuth and PHP

2010-09-07 Thread Tom van der Woerdt
Nah, it's actually quite easy, you just need to know where to look. Almost all OAuth issues are with generating the Base String. This tool can help you validate yours: Tom On 9/7/10 1:28 AM, hgc2002 wrote: > That's a very good way to avoid helping, and to waste t

[twitter-dev] Re: Help with xAuth and PHP

2010-09-06 Thread hgc2002
That's a very good way to avoid helping, and to waste time. If you read just part of the code at the top of the conversation, you may have seen the signature based being constructed. Trying to be constructive, Twitter Dev Team, please add more tools to test the OAuth/xAuth stuff. Many examples ar

Re: [twitter-dev] Re: Help with xAuth and PHP

2010-09-06 Thread Cameron Kaiser
> What do you mean? When you sign an OAuth (or xAuth) request, you use a base string composed of various components of the request itself. The OAuth spec goes into this in detail, and there are many helpers to show you how the base string is constructed. If you construct it incorrectly, your signa

[twitter-dev] Re: Help with xAuth and PHP

2010-09-06 Thread hgc2002
What do you mean? On 5 sep, 12:20, Tom van der Woerdt wrote: > What's the base string? > > Tom > > On 5 sep. 2010, at 12:18, hgc2002 wrote: > > -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancement

Re: [twitter-dev] Re: Help with xAuth and PHP

2010-09-05 Thread Tom van der Woerdt
What's the base string? Tom On 5 sep. 2010, at 12:18, hgc2002 wrote: > 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, bas

[twitter-dev] Re: Help with xAuth and PHP

2010-09-05 Thread hgc2002
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