我收到此错误
SyntaxError:非法字符[在此错误时出现错误]
jQuery19106301322763694621_1367656472546(
错误:访问属性'toString'
的权限被拒绝“NetworkError:404 Not Found - https://twitter.com/statuses/user_timeline/musictechfest.json?count=5&callback=jQuery19106301322763694621_1367656472544&_=1367656472545”
重播这个,我真的不明白是什么问题,它昨天起作用了,突然之间没有。
$(document).ready(function() {
console.log('doc ready!');
var search_term = {
q: 'musictechfest'
};
search(search_term);
function search(search_form){
//colsole.log('searching for');
console.dir(search_term);
$.ajax({
// url: 'http://search.twitter.com/search.json?' + $.param(search_term),
url: 'http://search.twitter.com/search.json?q=%twitter%count=4$refresh_interval=60000',
dataType:"jsonp",
success: function(data){
console.dir(data);
for (item in data['results']){
var tweetdate = data['results'][item]['created_at'];
.... 我的价格有限吗?我如何检查/修复它?
答案 0 :(得分:1)
也许是因为Twitter搜索API现在需要身份验证?