You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tweepy.errors.BadRequest: 400 Bad Request
The query parameter [media_fields] is not one of [id,max_results,pagination_token,expansions,tweet.fields,media.fields,poll.fields,place.fields,user.fields]
media.fields parameter should have in List Tweets lookup
timeline = client.get_list_tweets(id=list_id,
expansions=["author_id", "attachments.poll_ids", "attachments.media_keys",
"referenced_tweets.id", 'referenced_tweets.id.author_id',
'in_reply_to_user_id'],
media_fields=["url"],
tweet_fields=['id', 'text', 'author_id', 'created_at', 'conversation_id', 'entities',
'public_metrics', 'referenced_tweets'])
tweepy.errors.BadRequest: 400 Bad Request
The query parameter [media_fields] is not one of [id,max_results,pagination_token,expansions,tweet.fields,media.fields,poll.fields,place.fields,user.fields]
media.fields parameter should have in List Tweets lookup
https://developer.twitter.com/en/docs/twitter-api/lists/list-tweets/api-reference/get-lists-id-tweets
The text was updated successfully, but these errors were encountered: