The stream_tweets.py
script uses a Twitter Bearer token for authentication. To successfully authenticate you must export an environment variable. Substitue your bearer token and run the following (remove the <
and >
characters):
export 'BEARER_TOKEN'='<your_bearer_token>'