Created
March 26, 2013 13:52
-
-
Save MattRead/5245524 to your computer and use it in GitHub Desktop.
twitterlitte
This file contains 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
diff --git a/twitterlitte.plugin.php b/twitterlitte.plugin.php | |
index 8da3d97..900738f 100644 | |
--- a/twitterlitte.plugin.php | |
+++ b/twitterlitte.plugin.php | |
@@ -63,7 +63,7 @@ class TwitterLitte extends Plugin | |
), '', '&' ); | |
} | |
else { | |
- $url = 'http://twitter.com/statuses/user_timeline/' . $block->username . '.json'; | |
+ $url = 'http://api.twitter.com/1/statuses/user_timeline.json?screen_name=' . $block->username; | |
} | |
return $url; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment