Skip to content

Instantly share code, notes, and snippets.

View kingslyroche's full-sized avatar
👨‍💻
Focusing

Kingsly Roche kingslyroche

👨‍💻
Focusing
View GitHub Profile
@kingslyroche
kingslyroche / python_tweet_stream.py
Last active October 30, 2020 07:58
python_tweet_stream
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=''