Revision: 41394
Updated Code
at December 10, 2012 22:41 by eddequincey
Updated Code
<!DOCTYPE html> <html> <head> <title>JSON Example</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script> <script type="text/javascript"> function getTweet(){ $.getJSON("https://api.twitter.com/1/statuses/user_timeline/uniofgreenwich.json?count=1&callback=?", function(data){ $("#twitter").html("<a href='http://twitter.com/#!/uniofgreenwich/status/"+data[0].id_str+"'>" + data[0].text + "</a>"); }); } $(document).ready(function(){ getTweet(); }); </script> </head> <body> <p id="twitter"></p> </body> </html>
Revision: 41393
Updated Code
at December 10, 2012 22:26 by eddequincey
Updated Code
<html> <head> <title>JSON Example</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script> <script type="text/javascript"> function getTweet(){ $.getJSON("https://api.twitter.com/1/statuses/user_timeline/uniofgreenwich.json?count=1&callback=?", function(data){ $("#twitter").html("<a href='http://twitter.com/#!/uniofgreenwich/status/"+data[0].id_str+"'>" + data[0].text + "</a>"); }); } $(document).ready(function(){ getTweet(); }); </script> </head> <body> <p id="twitter"></p> </body> </html>
Revision: 41392
Updated Code
at February 18, 2011 01:02 by eddequincey
Updated Code
<html> <head> <title>JSON Example</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script> <script type="text/javascript"> function getTweet(){ $.getJSON("http://twitter.com/status/user_timeline/uniofgreenwich.json?count=1&callback=?", function(data){ $("#twitter").html("<a href='http://twitter.com/#!/uniofgreenwich/status/"+data[0].id_str+"'>" + data[0].text + "</a>"); }); } $(document).ready(function(){ getTweet(); }); </script> </head> <body> <p id="twitter"></p> </body> </html>
Revision: 41391
Updated Code
at February 18, 2011 01:01 by eddequincey
Updated Code
<html> <head> <title>JSON Example</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script> <script type="text/javascript"> function getTweet(){ $.getJSON("http://twitter.com/status/user_timeline/uniofgreenwich.json?count=1&callback=?", function(data){ $("#twitter").html("<a href='http://twitter.com/#!/uniofgreenwich/status/"+data[0].id_str+"'>" + data[0].text + "</a>"); }); } $(document).ready(function(){ getTweet(); }); </script> </head> <body> <p id="twitter"></p> </body> </html>
Revision: 41390
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 17, 2011 07:00 by eddequincey
Initial Code
<html> <head> <title>JSON Example</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script> <script type="text/javascript"> function getTweet(){ $.getJSON("http://twitter.com/status/user_timeline/uniofgreenwich.json?count=1&callback=?", function(data){ $("#twitter").html("<a href='http://twitter.com/#!/uniofgreenwich/status/"+data[0].id_str+"'>" + data[0].text + "</a>"); }); } $(document).ready(function(){ getTweet(); }); </script> </head> </body> <body> <p id="twitter"></p> </body> </html>
Initial URL
Initial Description
Updated code (December, 2012) to get a tweet from a user's twitter timeline using JSON and jQuery
Initial Title
Get a tweet from user timeline using JSON and jQuery
Initial Tags
jquery, json, twitter
Initial Language
jQuery