Posted By

michiels on 05/02/08


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

estebant


PHP curl script for Tweetburner API


 / Published in: PHP
 

  1. <?php
  2.  
  3. $ch = curl_init("http://tweetburner.com/links");
  4. curl_setopt($ch, CURLOPT_POST, true);
  5. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  6. curl_setopt($ch, CURLOPT_POSTFIELDS, "link[url]=nu.nl");
  7. $twurl = curl_exec($ch);
  8. echo $twurl . "\n";
  9. curl_close($ch);
  10.  
  11. ?>

Report this snippet  

You need to login to post a comment.