Twitter API Python script "not authorized" after a while -


i have python 3.3 script calls twitter api function /followers/ids. (i use library: https://pypi.python.org/pypi/twitter)

because of twitter rate limits, scripts takes many days run (15 calls 15 minutes pause,...).

in local tests script works fine when let run on amazon aws small instance, after half day or twitter starts returning "status 401: not authorized". reason this? have no idea cause different behaviour on local machine , on amazon server? don't other errors python.

edit: there no difference between pc , amazon server. noticed happens on both.

the 401: not authorized message means despite efforts stay within rate limits, twitter preventing aws instance access api now. different in behavior due different source ip - local connection vs. , amazon aws ip.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -