[twitter-dev] Re: Question on example code

2009-07-16 Thread Abraham Williams
If you are trying to make unauthenticated calls don't bother running them through OAuth. Just call them directly using curl. Abraham On Thu, Jul 16, 2009 at 07:39, BarefootSanders mgold...@gmail.com wrote: Hi all. I've been working on a twitter app using the new OAuth protocol and the

[twitter-dev] Re: Question on example code

2009-07-16 Thread BarefootSanders
Should have included this - The underlying code uses curl so thats why i was trying to use the methods that were there already. On Jul 16, 8:51 am, Abraham Williams 4bra...@gmail.com wrote: If you are trying to make unauthenticated calls  don't bother running them through OAuth. Just call them

[twitter-dev] Re: Question on example code

2009-07-16 Thread BarefootSanders
Yea I was going to do that but I had the class made there already.. The call It's not actually running through OAuth.. it just creates the object so it can use the methods already written. I was trying to use what was there already. On Jul 16, 8:51 am, Abraham Williams 4bra...@gmail.com wrote:

[twitter-dev] Re: Question on example code

2009-07-16 Thread Abraham Williams
The problem though is that OAuthRequest() makes a signed OAuth request that I'm sure Twitter does not know how to handle. You can probably however use http() instead as that is just a curl wrapper. Abraham On Thu, Jul 16, 2009 at 08:10, BarefootSanders mgold...@gmail.com wrote: Yea I was

[twitter-dev] Re: Question on example code

2009-07-16 Thread BarefootSanders
It's strange but the http() method doesn't seem to be working. Here is my code: $url = 'http://twitter.com/users/show.xml?screen_name=dougw'; $to = new TwitterOAuth(); $result = $to-http($url); print_r($result); And that doesn't print anything out. Am I doing something wrong? Thanks. On Jul

[twitter-dev] Re: Question on example code

2009-07-16 Thread BarefootSanders
And I'm still a bit confused.. what method is being called when this is called: $to-OAuthRequest() There is no method that matches the name/case of that method anywhere. On Jul 16, 9:34 am, Abraham Williams 4bra...@gmail.com wrote: The problem though is that OAuthRequest() makes a signed