Team:UCLondon/Templates/Navigationv3
From 2012e.igem.org
(Difference between revisions)
Line 340: | Line 340: | ||
function loadLatestTweet(){ | function loadLatestTweet(){ | ||
$('#twitter').html(''); | $('#twitter').html(''); | ||
- | var numTweets = | + | var numTweets = 5; |
var _url = 'https://api.twitter.com/1/statuses/user_timeline/MBioinformatics.json?callback=?&count='+numTweets+'&include_rts=1'; | var _url = 'https://api.twitter.com/1/statuses/user_timeline/MBioinformatics.json?callback=?&count='+numTweets+'&include_rts=1'; | ||
$.getJSON(_url,function(data){ | $.getJSON(_url,function(data){ |
Revision as of 22:09, 15 October 2012