perl.j has asked for the wisdom of the Perl Monks concerning the following question:
I currently have the following code which captures the number of followers for a particular Twitter account, and prints it to a webpage:
<html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.m +in.js"></script> <script type="text/javascript"> $(document).ready(function() { var twitterusername = 'ESPN'; $.getJSON('http://twitter.com/users/' + twitterusername + '.json?c +allback=?', function(data) { $('#followers').html(data.followers_count); document.write(twitterusername, "# of Followers: ", data.follo +wers_count); }); }); </script> </head> <body> <div id='followers'></div> </body> </html>
How can I take the number of followers, and store it into a Perl variable?
--perl.j
Back to
Seekers of Perl Wisdom