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
nobody an idea?
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
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
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
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!
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
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