2011-04-21 55 views

回答

3

使用JSONP,或JSON與填充:

<script type = "text/javascript"> 
    window.getTwitterResults = function(data) { 
     console.log(JSON.stringify(data)); 
    }; 
</script> 
<script type = "text/javascript" src = "http://search.twitter.com/search.json?q=cheese&callback=getTwitterResults"></script> 
+0

不知道回調的東西存在。 – Justin808 2011-04-21 20:12:46