Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Focusing

Kingsly Roche kingslyroche

👨‍💻
Focusing
View GitHub Profile
View python_tweet_stream.py
import boto3
import json
from datetime import datetime
from tweepy.streaming import StreamListener
from tweepy import OAuthHandler
from tweepy import Stream
from urllib3.exceptions import ProtocolError
#Variables that contains the user credentials to access Twitter API
access_token=''