Skip to content

Instantly share code, notes, and snippets.

@webmasterkai
Last active April 4, 2016 17:58
Show Gist options
  • Save webmasterkai/146308bec2dd3c96610b023af0a8c45f to your computer and use it in GitHub Desktop.
Save webmasterkai/146308bec2dd3c96610b023af0a8c45f to your computer and use it in GitHub Desktop.
diff --git a/twitter_pull.class.inc b/twitter_pull.class.inc
index 623fdc3..670c2d1 100644
--- a/twitter_pull.class.inc
+++ b/twitter_pull.class.inc
@@ -54,7 +54,7 @@ class twitter_puller {
// if the first character is @, then consider the key a username
elseif ($prefix == "@") {
$key = drupal_substr($this->twitkey, 1);
- $url = 'http://api.twitter.com/1/statuses/user_timeline.json?screen_name='. urlencode($key) .'&include_rts=true&count='. $num;
+ $url = 'http://dong.cape.io/api/twitter/innovadotmu?tweets=3' . urlencode($key) . '?tweets=' . $num;
}
// if the first character is ~, then consider the key a favorites feed
elseif ($prefix == "~") {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment