from tweepy import Stream
from tweepy import OAuthHandler
from tweepy.streaming import StreamListener

consumer_key = "fasdffasdf"
consumer_secret = "fasdffasdf"
access_token = "fasdffasdf"
access_secret = "fasdffasdf"

class listener(StreamListener):

    def on_data(self, data):
        print(data)
        return(data)

    def on_error(self, status):
        print(status)

auth = OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_secret)

twitterStream = Stream(auth, listener())
twitterStream.filter(track = ["python"])

8e8886941a771a4833c2b7ea568978c2994a0722
<mask token>


class listener(StreamListener):

    def on_data(self, data):
        print(data)
        return data
    <mask token>


<mask token>

<mask token>


class listener(StreamListener):

    def on_data(self, data):
        print(data)
        return data

    def on_error(self, status):
        print(status)


<mask token>
auth.set_access_token(access_token, access_secret)
<mask token>
twitterStream.filter(track=['python'])

<mask token>
consumer_key = 'fasdffasdf'
consumer_secret = 'fasdffasdf'
access_token = 'fasdffasdf'
access_secret = 'fasdffasdf'


class listener(StreamListener):

    def on_data(self, data):
        print(data)
        return data

    def on_error(self, status):
        print(status)


auth = OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_secret)
twitterStream = Stream(auth, listener())
twitterStream.filter(track=['python'])

from tweepy import Stream
from tweepy import OAuthHandler
from tweepy.streaming import StreamListener
consumer_key = 'fasdffasdf'
consumer_secret = 'fasdffasdf'
access_token = 'fasdffasdf'
access_secret = 'fasdffasdf'


class listener(StreamListener):

    def on_data(self, data):
        print(data)
        return data

    def on_error(self, status):
        print(status)


auth = OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_secret)
twitterStream = Stream(auth, listener())
twitterStream.filter(track=['python'])

from tweepy import Stream
from tweepy import OAuthHandler
from tweepy.streaming import StreamListener

consumer_key = "fasdffasdf"
consumer_secret = "fasdffasdf"
access_token = "fasdffasdf"
access_secret = "fasdffasdf"

class listener(StreamListener):

    def on_data(self, data):
        print(data)
        return(data)

    def on_error(self, status):
        print(status)

auth = OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_secret)

twitterStream = Stream(auth, listener())
twitterStream.filter(track = ["python"])
