I would like some help if possible. I’m trying to show the results of the twitter trends topics using their new API1.1
Here is my code
foreach ($content as $topics) {
echo $topics->trends['name'];
}
And here the result of the query
Array(
[0] => stdClass Object
(
[trends] => Array
(
[0] => stdClass Object
(
[name] => #FinalNoel
[url] => http://twitter.com/search?q=%23FinalNoel
[promoted_content] =>
[query] => %23FinalNoel
[events] =>
)
[1] => stdClass Object
(
[name] => #WeOwnTheNightin3Days
[url] => http://twitter.com/search?q=%23WeOwnTheNightin3Days
[promoted_content] =>
[query] => %23WeOwnTheNightin3Days
[events] =>
)
Thanks for helping.