Closed HaroldPutman closed 8 years ago
:+1: :shipit:
It looks like deprecatedImage
gets used in imageMe
if the CSE doesn't respond, and it does a msg.send "Daily image quota exceeded, using alternate source."
. Might remove that call and just return an error in that case.
This is really just a temporary notice until we can get CSE plus some fallback like Bing images integrated,
Address #29 by showing a message and a fallback image.
Google Image Search API is not longer available. Please setup up Custom Search Engine API.
You can provide a different fallback URL by defining the environment variable HUBOT_GOOGLE_IMAGES_FALLBACK. If you put
{q}
in the URL it will be replaced by the URL escaped query string. (for examplehttp://placehold.it/480x150?text={q}
)