Team:UCLondon/Templates/Navigationv3
From 2012e.igem.org
(Difference between revisions)
Line 291: | Line 291: | ||
function loadLatestTweet(){ | function loadLatestTweet(){ | ||
- | var numTweets = | + | var numTweets = 3; |
- | var _url = 'https://api.twitter.com/1/statuses/user_timeline/ | + | 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){ | ||
for(var i = 0; i< data.length; i++){ | for(var i = 0; i< data.length; i++){ |
Revision as of 17:12, 14 October 2012