I’m using the Streaming API via the Tweetstream package in Python. Basically what I’m dong is collecting tweets in a certain geographical area. I understand that Twitter returns a sample instead of all and that there are other limitations. Initially all worked fine except for a few lost connections (possible because at night the number of tweets in the area might have been zero for a long time). Anyways a few days a go, I received an ‘Access Denied’ when I tried to run the same program. Using a friends twitter Id didn’t resolve it, so I’m guessing it is IP related.
Either way, I have no clue what I did wrong, nor did I receive any message that I actually did something wrong. My question is two-fold:
- How can I regain access?
- How can I know what caused this, so I can avoid it in the future?