Last active
December 17, 2015 00:19
-
-
Save achudars/5520453 to your computer and use it in GitHub Desktop.
Display Twitter Count for a specific screen name using PHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $url = "http://api.twitter.com/1/users/show.json?screen_name=Aleks_Cudars&include_entities=true"; | |
| $feed = file_get_contents($url); | |
| $twitter_decoded = json_decode($feed); | |
| echo $twitter_decoded->followers_count; | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment