Skip to content

Commit

Permalink
Merge pull request dcramer#102 from AaronVanGeffen/master
Browse files Browse the repository at this point in the history
Fixed Twitter extension
  • Loading branch information
dcramer committed Nov 2, 2012
2 parents e39e9e8 + 6d5735a commit a4e78f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extensions/twitter/extension.inc.php
Expand Up @@ -67,9 +67,9 @@ function get_url($page=1, $count=20)
}
else
{
$url_base = 'http://twitter.com';
$url_base = 'http://api.twitter.com';
}
return $url_base . '/statuses/user_timeline/'.$this->get_option('username').'.rss?page='.$page.'&count='.$count.'&source=twitterandroid';
return $url_base . '/1/statuses/user_timeline.rss?screen_name='.$this->get_option('username').'&page='.$page.'&count='.$count.'&source=twitterandroid';
}

function save()
Expand Down Expand Up @@ -137,4 +137,4 @@ function lifestream_twitter_status($links=true)
}

$lifestream->register_feed('Lifestream_TwitterFeed');
?>
?>

0 comments on commit a4e78f6

Please sign in to comment.