rc3-html-infobeamer/dl_tweets.sh

12 lines
792 B
Bash
Raw Normal View History

2020-12-23 11:50:30 +01:00
#!/bin/bash
2021-12-21 22:37:19 +01:00
export BEARER_TOKEN=$(cat token)
2020-12-23 11:50:30 +01:00
curl -s -X GET -H "Authorization: Bearer $BEARER_TOKEN" \
2021-12-21 22:48:21 +01:00
"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
2021-12-30 20:28:20 +01:00
curl -s "https://chaos.social/api/v1/timelines/tag/rc3cwtv?limit=42" > 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
2021-12-25 05:32:51 +01:00
curl -s "https://data.c3voc.de/rC3_21/everything.schedule.json" > public/everything.schedule.json