When using the shariff backend in my project, I got many Guzzle warnings in my log:
[2017-02-26 17:41:22] app.WARNING: Client error: `GET https://www.reddit.com/api/info.json?url=https%3A%2F%2Fexample.com` resulted in a `429 Too Many Requests` response: {"message": "Too Many Requests", "error": 429} {"exception":"[object] (GuzzleHttp\\Exception\\ClientException(code: 429): Client error: `GET https://www.reddit.com/api/info.json?url=https%3A%2F%2Fexample.com` resulted in a `429 Too Many Requests` response:\n{\"message\": \"Too Many Requests\", \"error\": 429}\n at /www/htdocs/***/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:111)"} []
[2017-02-26 17:41:22] app.WARNING: Client error: `GET https://www.reddit.com/api/info.json?url=https%3A%2F%2Fexample.com` resulted in a `429 Too Many Requests` response: {"message": "Too Many Requests", "error": 429} {"exception":"[object] (GuzzleHttp\\Exception\\ClientException(code: 429): Client error: `GET https://www.reddit.com/api/info.json?url=https%3A%2F%2Fexample.com` resulted in a `429 Too Many Requests` response:\n{\"message\": \"Too Many Requests\", \"error\": 429}\n at /www/htdocs/***/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:111)"} []
When using the shariff backend in my project, I got many Guzzle warnings in my log:
It looks like the reddit api is blocking anonymous api requests.
Maybe we should find a way to modify the user agent to get through the reddit spam protection.