Updated code to use X account id instead of name. Updated dependencies

This commit is contained in:
2026-05-10 14:31:17 +02:00
parent 4cdccb7227
commit 9e7759a37e
5 changed files with 6 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ class TwitterContainer():
posts = []
try:
async for tweet in botData.twApi.get_tweets(user_name = self.name, bottom_id = newest_post, all_posts = all_posts):
async for tweet in botData.twApi.get_tweets(user_id = self.id, bottom_id = newest_post, all_posts = all_posts):
posts.append(tweet)
except (UserProtected, UserNotFound) as ex: