fetch_user_tweets

Documentation for eth_defi.feed.twitter_api.fetch_user_tweets function.

fetch_user_tweets(user_id, bearer_token, author_handle, *, max_tweets=10, since=None)

Fetch recent tweets from a single user timeline.

GET /2/users/:id/tweets supports start_time for incremental reads. Used when LIMIT is set or for backfilling newly added members.

Parameters
Return type

list[eth_defi.feed.database.CollectedPost]