403 Error in Chrome When Making Twitter Search API Call


#1

Today, my script stopped working in Chrome, and now I get a 403 Forbidden, or a 400 Bad Request. This only happens in Chrome, and only with my 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 some similar complaints here and on other forums, but never an explanation that makes sense adn certainly not a solution. How can this be a Chrome-only error. If you paste the search query url into location bar, the feed is returned.

I’m at a loss, and being so close to launching my app, a little worried.


#2

Launching an app with this code would be a bad idea. This method of running a search will disappear completely in less than a month -

https://dev.twitter.com/blog/api-v1-retirement-final-dates