I already checked previous all thread but no luck.
I am getting json response like this: http://pastebin.com/HS0UhYat for var_dump($tweets5);
code:
//$tweetid = "200582436";
$tweets5 = $connection->get("https://api.twitter.com/1.1/statuses/retweets/".$tweetid.".json?count=1");
var_dump($tweets5);
$tweets5 = json_decode($tweets5,true);
echo $tweets5[retweeted_status][user][name];
echo $tweets5->retweeted_status->user->name;
echo "$tweets5<br><br>";
I want to get each value username, id etc seperately. how to to this?