'what do we do when twitter sends us data?
here data will be a Python object representing a tweet'

def on_success(self, data):

    if (data['lang'] == 'en'):
        tweets.append(data)
    if (len(tweets) >= 1000):
        self.disconnect()
