Skip to content

Commit

Permalink
Update tweet.py attempting to bypass new 403 error
Browse files Browse the repository at this point in the history
  • Loading branch information
jboarman authored Jun 18, 2023
1 parent 7e2eb13 commit 507785d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tweet.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
access_token = ACCESS_TOKEN,
access_token_secret = ACCESS_TOKEN_SECRET
)
user_info = api_V2.get_me()
logging.info(f"Authenticated via V2 Twitter API; connected as user `{user_info.data.username}`")
#user_info = api_V2.get_me() # call apparently blocked by "free" tier plan??
#logging.info(f"Authenticated via V2 Twitter API; connected as user `{user_info.data.username}`")

# Upload image
media = api_v1.media_upload(filename_upload)
Expand Down

0 comments on commit 507785d

Please sign in to comment.