Okay, I am collecting the ids via:
with open(output_file, “a”, encoding = “utf8”) as f:
search_parameters = {
'query': f"#trump OR #notrump OR #biden OR #nobiden OR #stopbiden", # up t0 1024 characters
'expansions': "attachments.media_keys,in_reply_to_user_id,referenced_tweets.id,referenced_tweets.id.author_id",
"tweet.fields": "attachments,author_id,conversation_id,created_at,geo,in_reply_to_user_id,lang,public_metrics,referenced_tweets,source,withheld",
# ommitted fields: context_annotations,entities,non_public_metrics,possibly_sensitive, organic_metrics, promoted_metrics
"user.fields": "id,name,username,created_at,description,location,public_metrics,verified",
# ommitted user fields: entities,pinned_tweet_id,profile_image_url,protected,url,withheld
"media.fields": "public_metrics",
"place.fields": "country",
"max_results": "100",
"start_time": "2021-11-01T01:30:00.000Z",
"end_time": "2021-11-01T01:32:00.000Z"
}
search_connect(bearer_token, f, search_parameters)
and then I just sort out the conversation ids…
Then I put them into the promt:
twarc2 conversation 1454969101047246857
A sample not working are e.g.: “1454969101047246857”, “1454969096995577861”, “1454969038157881348”