0
为什么下面的代码显示“获得了结果为空”alertbox?而请求似乎是发送适当的json。无法从jQuery获取twitter状态更新
$(function(){
$.getJSON('http://api.twitter.com/1/statuses/user_timeline.json?screen_name=twitterusername', function(data) {
alert('got the result '+data);
});
});
是否跨域安全意味着我将无法在博客中使用上述小部件中的博客? – 2010-06-12 10:48:29
@Bunny:你应该可以使用它。我也扩大了我的答案。 – Matt 2010-06-12 10:57:04