import tweetstream import pymongo connection = pymongo.Connection("mongodb://localhost:27017") db = connection.socialdata words = ["social media", "innovation", "cloud computing"] with tweetstream.FilterStream('username', 'password', track=words) as stream: for tweet in stream: db.tweets.save(tweet)
Traceback (most recent call last): File "tweet.py", line 9, in <module> with tweetstream.FilterStream(username, password, track=words) as stream: TypeError: __init__() takes at least 5 arguments (4 given)</module>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)