skip to Main Content
author
208 views
1 vote

Twitter-api – 403 Forbidden – Tweepy Authentication error when attempting to access tweet/user data with client.get_user()

import tweepy
import os

api_key = os.getenv('TWI_API_KEY')
api_key_secret = os.getenv('TWI_API_KEY_SECRET')
bearer_token = os.getenv('TWI_BEARER_TOKEN')
access_token = os.getenv('TWI_ACCESS_TOKEN')
access_token_secret = os.getenv('TWI_ACCESS_TOKEN_SECRET')<br

Back To Top
Search