Sometimes Twitter Search API returns JSON without `results` section. This ends with the following error. undefined method `map' for nil:NilClass (NoMethodError) /app/vendor/bundle/ruby/1.9.1/gems/twitter-2.2.5/lib/twitter/client/search.rb:68:in `search' With this patch, Twitter::Client::Search checks content of `results`, and if it is nil, return an empty array silently.
I think so because I inquired with Apigee and learned the following: Increased rate limits for consumers of the Twitter API via Apigee were previously offered with the Apigee FREEMIUM service. This FREE traffic is now being routed to a different set of Twitter APIs that do not allow that increase. AS a side note, It is not part and never has been available with the Apigee Enterprise product.