Return to Snippet

Revision: 6165
at May 2, 2008 06:45 by michiels


Initial Code
<?php

$ch = curl_init("http://tweetburner.com/links");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, "link[url]=nu.nl");
$twurl = curl_exec($ch);
echo $twurl . "\n";
curl_close($ch);

?>

Initial URL


Initial Description


Initial Title
PHP curl script for Tweetburner API

Initial Tags


Initial Language
PHP