tweepy/tweepy — Issue #130: tweepy.Stream() requiers 4 args?
Author: mansilla
Created: 2011-10-30 22:33:58+00:00
State: open

Hi i'm trying to fetch realtime data from twitter using tweepy.Stream().
So I have tried the following...
After successfully authenticate using oauth:

auth = tweepy.OAuthHandler(...) (it's works fine, i have my access_token.key and secret)

i did:
streaming_api = tweepy.streaming.Stream(auth, CustomStreamListener(), timeout='90')
and:
streaming_api = tweepy.streaming.Stream(auth, CustomStreamListener(), timeout='90')

none of this works, it keeps giving me the same error:

Traceback (most recent call last):
File "", line 1, in
streaming_api = tweepy.streaming.Stream(auth, CustomStreamListener(), timeout='60')
TypeError: __init__() takes at least 4 arguments (4 given)

then i have tried to access to the params of the function:
tweedy.streaming.Stream(login,password,Listener(),...etc)
but i thought this login and pass was the authentication method using in the basic authentication not in the oauth case.
Now i'm really confused, a little help please?