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

[twitter-dev] Re: help with xAuth

2010-04-09 Thread yves.v...@mac.com
On Apr 9, 7:23 am, John wrote: > Well I changed my code to use a library rather than try to do it > manually and I got it to work. Coward ;-) > Now for all subsequent requests am I > suppose to sign requests using the oauth_token_secret that was > returned? Yes. -- To unsubscribe, reply usin

[twitter-dev] Re: help with xAuth

2010-04-08 Thread John
Well I changed my code to use a library rather than try to do it manually and I got it to work. Now for all subsequent requests am I suppose to sign requests using the oauth_token_secret that was returned? On Apr 8, 7:30 pm, "yves.v...@mac.com" wrote: > On Apr 9, 2:24 am, John wrote: > > > The

[twitter-dev] Re: help with xAuth

2010-04-08 Thread yves.v...@mac.com
On Apr 9, 2:24 am, John wrote: > The only thing the docs doesn't note is the secret key that is > used to sign. Am I suppose to use the consumer secret or do I need to > get a token secret as well then combine them like in oauth requests? You need to use the consumer secret at this point. There