jixel 😊accomplished

I am a fucking genius!


Woohoo. Not only did I finally bite the bullet and write code to automajically generate my work site's google sitemap (400+ urls!) in real time.. thanks codeninjaking for being the ear i had to bend to get there!

I learned how to make my own php hack of twitter API which is really very ferkin easy, as it just uses curl — so you can even do via command line!

My Code (you're welcome
neoliminal!)
$ch = curl_init("http://twitter.com/statuses/update.xml");
curl_setopt($ch, CURLOPT_USERPWD, 'USERNAME:PASSWORD');

/* now post your status:
Be sure to URL encode as necessary.
Should not be more than 140 characters.
*/
curl_setopt($ch, CURLOPT_POSTFIELDS, 'status="Your Message Here"');
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_POST, true);
curl_exec($ch);
curl_close($ch);

And that werk'd for me!

You'll get a spew back from the server but anything other than an error means SCHWING!