google chrome - 403 Error When Making Twitter Search API Call -
today, script stopped working in chrome, , 403 forbidden, or 400 bad request. happens in chrome, , twitter search api call:
var url = "http://search.twitter.com/search.json?q=myquery&include_entities=true&callback=?"; $.ajax({ type: 'get', url: url, async: false, jsonpcallback: 'testcallback', contenttype: "application/json", datatype: 'jsonp' });
i've seen similar complaints here , on other forums, never explanation makes sense adn not solution. how can chrome-only error. if paste search query url location bar, feed returned.
i'm @ loss, , being close launching app, little worried.
edit: error 400 , in browsers. i've learned, twitter deprecating v.1 of api.
check network activity - chrome automatically converting http requests https requests. best way around route request through proxy:
i read somewhere twitter disabling anonymous ajax requests in month part of api 1.0 deprecation plan. search api request need made application authentication token.
Comments
Post a Comment