An HTTP code in cURL of 0 usually means your request is being denied
by Twitter at the network equipment level. In other words, your
connection is refused. This sometimes happens when the Twitter network
is overloaded.

On Jul 12, 2:15 am, nordmograph <> wrote:
> Hi there , I'm new to this group, so hello everyone,
> I'm tryng to set my first (php) use of the twitter API using CUrl and
> I'm experiencing a strange behaviour:
>  I get this http_code zero when my post has been added and also when
> I can't authentificate. I read a previous post on this group saying it
> was caused by:
> curl_setopt($ch, CURLOPT_POST, 1);
> That post said that commenting out this line (or setting to false)
> would fix it.
> But if I do so I get a good 401 for password error which makes me
> happy
> but still have a 400: <error>This method requires a POST.</error>
> when it should post fine...
> I can't get my 200 even if the update is posted to my twitter
> succesfully using that curlopt_post.
> Any help greatly appreciated!
> thks

Reply via email to