I'm using Tumblr API trying to get a Title of a blog. The code I have found does not work for me.
$result = json_decode(file_get_contents('http://example.tumblr.com/api/read/json?num=0'));
$print_r($result);
echo $result[1];
I'm trying to echo out Ex-Sample
but it's giving me blank results. What am I doing wrong?
Thank you