Having a helluva time working with technorati's API...
All I need is to grab the top 10-20 or so tags...
here is my code so far... its been timing out on me or returning nothing what am I doing wrong here?
All I need is to grab the top 10-20 or so tags...
here is my code so far... its been timing out on me or returning nothing what am I doing wrong here?
PHP:
<?php
header ("content-type: text/xml");
// Your technorati api key
$api_key = 'my api key';
$url = 'http://api.technorati.com/toptags?key='.$api_key';
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$page = curl_exec($ch);
curl_close($ch);
echo $page;
?>