Mercurial > hg > ywww
comparison twitter/random.php @ 6:077b0a0a3e6d
remaining originals according to dependency walk
author | Robert Boland <robert@markup.co.uk> |
---|---|
date | Thu, 16 Feb 2017 22:29:02 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
5:55445b456ad0 | 6:077b0a0a3e6d |
---|---|
1 <?php | |
2 include 'EpiCurl.php'; | |
3 include 'EpiOAuth.php'; | |
4 include 'EpiTwitter.php'; | |
5 include 'secret.php'; | |
6 | |
7 $twitterObj = new EpiTwitter($consumer_key, $consumer_secret, $_COOKIE['oauth_token'], $_COOKIE['oauth_token_secret']); | |
8 | |
9 $twitterInfo= $twitterObj->get_statusesFriends(); | |
10 echo "<h1>Your friends are</h1><ul>"; | |
11 foreach($twitterInfo as $friend) { | |
12 echo "<li><img src=\"{$friend->profile_image_url}\" hspace=\"4\">{$friend->screen_name}</li>"; | |
13 } | |
14 echo "</ul>"; | |
15 ?> |