thomersch / openstreetmap-calendar

osmcal, a Collaborative Calendar for OpenStreetMap-related Events
https://osmcal.org
Apache License 2.0
33 stars 9 forks source link

Twitter link on osmcal.org #104

Open britiger opened 2 years ago

britiger commented 2 years ago

Is it possible to show the link of the tweet generated by bot https://twitter.com/osm_events on event page, so that it is possible to use that for later retweets?

thomersch commented 2 years ago

That's a good idea.

It's a bit tricky to do, because the tweet is done asynchronously, since the Twitter API might be unavailable or slow and I don't want to hold up the page load. I'd have to do some event polling from the front end and display a message as soon as I have the link to the tweet, but I will have to build some infrastructure to support this.

thomersch commented 1 year ago

136