I'm using the my_twitter PHP library from twitter website but every
time I try to post a status I get an invalid username/password. Here's
the code that's making the curl call.

Any ideas?

$ch = curl_init();
                                curl_setopt($ch, CURLOPT_URL, $url);
                                curl_setopt($ch, CURLOPT_HTTPAUTH, 
                                curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
                                curl_setopt($ch, CURLOPT_USERPWD, 
                                curl_setopt($ch, CURLOPT_GET, true);

Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 

Reply via email to