skip to Main Content

Twitter API search not returning full text of tweet

Right now my code is only returning some of the tweets api = TwitterAPI(consumer_key, consumer_secret, access_key, access_secret) r = api.request('tweets/search/fullarchive/:prod', {'query' : 'search term',"maxResults": "100", "fromDate":"201901010000","toDate":"202001310000"}) csvFile = open('output.csv', 'a+') csvWriter = csv.writer(csvFile) for tweet in r: csvWriter.writerow([tweet['created_at'], tweet['user']['screen_name'], tweet['text'].encode('utf-8')…

VIEW QUESTION
Back To Top
Search