rc3-html-infobeamer/dl_tweets.sh

5 lines
335 B
Bash

#!/bin/bash
export BEARER_TOKEN=<Enter your Bearer Token here>
curl -s -X GET -H "Authorization: Bearer $BEARER_TOKEN" \
"https://api.twitter.com/2/tweets/search/recent?query=%23rC3&tweet.fields=created_at&expansions=author_id,attachments.media_keys&media.fields=preview_image_url&user.fields=profile_image_url" > tweets-rc3.json