aboutsummaryrefslogtreecommitdiff
path: root/mod/twitter
diff options
context:
space:
mode:
authorRiverVanRain <river.vanrain@gmail.com>2012-11-14 14:12:57 +0300
committerSteve Clay <steve@mrclay.org>2012-11-14 10:08:59 -0500
commitf760ea1880bbeb46b210aa797d480dcef1a8f49e (patch)
tree6b192d3a350472c7d58d410c961818f8ed20ceed /mod/twitter
parent2c6403a38d45408892c7295157714ef55cbc1bbc (diff)
downloadelgg-f760ea1880bbeb46b210aa797d480dcef1a8f49e.tar.gz
elgg-f760ea1880bbeb46b210aa797d480dcef1a8f49e.tar.bz2
Fixes #4890: Correct URL for requesting a timeline
Diffstat (limited to 'mod/twitter')
-rw-r--r--mod/twitter/views/default/widgets/twitter/content.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/twitter/views/default/widgets/twitter/content.php b/mod/twitter/views/default/widgets/twitter/content.php
index e429d0103..c616d944c 100644
--- a/mod/twitter/views/default/widgets/twitter/content.php
+++ b/mod/twitter/views/default/widgets/twitter/content.php
@@ -20,7 +20,7 @@ if ($username) {
<ul id="twitter_update_list"></ul>
<p class="visit_twitter"><a href="http://twitter.com/<?php echo $username; ?>"><?php echo elgg_echo("twitter:visit"); ?></a></p>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
- <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/<?php echo $username; ?>.json?callback=twitterCallback2&count=<?php echo $num; ?>"></script>
+ <script type="text/javascript" src="https://api.twitter.com/1/statuses/user_timeline/<?php echo $username; ?>.json?callback=twitterCallback2&count=<?php echo $num; ?>"></script>
</div>
<?php