[twitter-dev] Re: API Curl: Status update result: http_code =0!

2009-07-24 Thread lda
Thx worked On 20 Jul., 20:27, Chad Etzel jazzyc...@gmail.com wrote: Ah, I think I may have an idea... You both are setting the status in the query string (more like a GET request) and setting curl_setopt($ch, CURLOPT_POST, 1). But, It doesn't look like either of you are setting a

[twitter-dev] Re: API Curl: Status update result: http_code =0!

2009-07-20 Thread lda
nobody an idea?

[twitter-dev] Re: API Curl: Status update result: http_code =0!

2009-07-20 Thread Chad Etzel
Ah, I think I may have an idea... You both are setting the status in the query string (more like a GET request) and setting curl_setopt($ch, CURLOPT_POST, 1). But, It doesn't look like either of you are setting a POSTFIELDS option. I got http_code=0 sometime ago when I realized I was not

[twitter-dev] Re: API Curl: Status update result: http_code =0!

2009-07-16 Thread lda
I have same issue... with curl_setopt($ch, CURLOPT_POST, 1); i get this * About to connect() to twitter.com port 80 (#0) * Trying 168.143.162.100... * connected * Connected to twitter.com (168.143.162.100) port 80 (#0) * Server auth using Basic with user 'x' POST

[twitter-dev] Re: API Curl: Status update result: http_code =0!

2009-07-14 Thread nordmograph
So as I said when I test my script localy on my win32 it works fine I get this: Array ( [url] = http://twitter.com/statuses/update.xml?status=It%27s+made+of+a+module+and+a+profile+application [content_type] = application/xml; charset=utf-8 [http_code] = 200 [header_size] = 890

[twitter-dev] Re: API Curl: Status update result: http_code =0!

2009-07-13 Thread nordmograph
OK , I was testing on a shared host I finally tested locally on a win32 with Curl and it worked fine Twitter sending back a http_code 200 on successfull tweet. Any Idea why the same script used on my host receives a http_code 0 whatever happens? Thanks a lot!

[twitter-dev] Re: API Curl: Status update result: http_code =0!

2009-07-12 Thread Arnaud Meunier
Set CURLOPT_VERBOSE option to 1, and copy / paste the output here (think to hide the auth part). 2009/7/12, nordmograph adrous...@gmail.com: 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

[twitter-dev] Re: API Curl: Status update result: http_code =0!

2009-07-12 Thread Dewald Pretorius
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 adrous...@gmail.com wrote: Hi there , I'm