Hi,
I have tried to get my code to work. I am wanting a way to show follower’s twitter profile picture.
I am using Abraham’s twitteroauth and I have already connected it to my Twittter account.
currently I am using this code, but it doesen’t work:
<?php
$followers = $connection->get("https://api.twitter.com/1.1/followers/list.json?cursor=-1&screen_name=ryanfitton");
foreach($followers as $response){
echo $followers->user->profile_image_url;
}
?>
Although if I print the array using:
print_r($followers);
It will show the code,
Thanks,
Ryan