JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script> <script> $(function(){ $.ajax({ url: 'http://api.twitter.com/1/users/show.json', data: {screen_name: 'rcastera'}, dataType: 'jsonp', success: function(data) { console.log(data.followers_count); } }); }); </script> |