Download mastodon tweets from chaos.social too

This commit is contained in:
L3D 2021-12-22 23:13:37 +01:00
parent 19b8e1ffe1
commit 02fe2db1f1
Signed by untrusted user who does not match committer: L3D
GPG Key ID: CD08445BFF4313D1
1 changed files with 5 additions and 0 deletions

View File

@ -2,3 +2,8 @@
export BEARER_TOKEN=$(cat token) export BEARER_TOKEN=$(cat token)
curl -s -X GET -H "Authorization: Bearer $BEARER_TOKEN" \ curl -s -X GET -H "Authorization: Bearer $BEARER_TOKEN" \
"https://api.twitter.com/2/tweets/search/recent?query=%23rC3cwtv&tweet.fields=created_at&expansions=author_id,attachments.media_keys&media.fields=preview_image_url&user.fields=profile_image_url" > public/tweets-rc3.json "https://api.twitter.com/2/tweets/search/recent?query=%23rC3cwtv&tweet.fields=created_at&expansions=author_id,attachments.media_keys&media.fields=preview_image_url&user.fields=profile_image_url" > public/tweets-rc3.json
# download mastodon toots from chaos.social
curl -s "https://chaos.social/api/v1/timelines/tag/rc3cwtv" > public/toots-rc3-chaos.social.json
# curl -s "https://social.bau-ha.us/api/v1/timelines/tag/rc3cwtv" > public/toots-rc3-social.bau-ha.us.json
# curl -s "https://social.tchncs.de/api/v1/timelines/tag/rc3cwtv" > public/toots-rc3-social.tchncs.de.json