http_code = 0 is common for cURL not being able to connect to Twitter. Check
to make sure that you can ping
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-help%C2%A0test from
your servers command line.

Abraham

On Thu, Feb 4, 2010 at 01:09, Bavs <b.san...@gmail.com> wrote:

> Hello,
>
> I am using abraham's twitter OAuth PHP library to build a basic
> application and it is failing.
>
> It is failing at:
>
> $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET);
> /* Get request token */
> $request_token = $connection->getRequestToken(OAUTH_CALLBACK);
>
> The returned http_code is 0.
>
> I have registered my application with a valid callback URL and have
> got a consumer and a secret key which I am using it in the code.
>
> Let me know if I am missing anything.
>
> Thanks in Advance.
>



-- 
Abraham Williams | Community Advocate | http://abrah.am
Project | Out Loud | http://outloud.labs.poseurtech.com
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Seattle, WA, United States

Reply via email to