jgorset/fandjango

Version of "requests"

mbaechtold opened this issue · 4 comments

Hi Johannes

"fandjango" requires "requests" >= 0.8 and < 0.9 whereas "facepy" requires "requests" >=0.8 and < 0.12.
Is it save to use requests==0.11.2 (the last version before 0.12.0) with "fandjango"?

I'm asking because I'm getting lots of these errors lately:

 HTTPError: Max retries exceeded for url: me/likes/<id>?access_token=<token>

Hi @mbaechtold,

the latest version of requests should be fine‌ – I'll update the requirements accordingly. I'm not exactly sure what's causing those errors, though, but if you keep getting them I recommend filing an issue with requests.

Thank you very much. I'll keep an eye on that...

I also have these errors, they usually appear when the facebook api is slow because of network latency problems at facebook.

@Morpho I also encountered very slow requests to facebook. I use celery for most of my tasks related to facebook by now. The call of user.oauth_token.extend() in the middleware also takes up to some seconds to complete. But that's subject of another issue...