agora-inc / platform

Full code for mora.stream, the "Twitch.tv for academic researchers". The streaming platform served several thousands of concurrent viewers. This has now been acquired and absorbed by Cassyni.
https://cassyni.com/mora
4 stars 0 forks source link

Format of link when copy-pasted for talk sharing not nice #203

Open RemyMess opened 3 years ago

RemyMess commented 3 years ago

Problem The event specific page (example: https://agora.stream/event/387 ) has the following default description: image We would like it to show something like that image

The same problem appears when using the following sharing buttons on the talk cards. The thumbnail of the sharing (for Facebook and Linkedin) shows the following image

We woudl like it to share something like that: image Similarly for FB, we have: image But want image

(source example: https://talks.ox.ac.uk/talks/id/4f1a079d-310f-4f2b-86c2-d905a4544d0d/)

RemyMess commented 3 years ago

still unfixed

RemyMess commented 3 years ago

Note: exploit react-helmet: https://www.youtube.com/watch?v=DQahXIcvRpM

RemyMess commented 3 years ago

Solution: Gerardo's trick; calling "https://agora.stream/api/event-link?eventId=234" where the meta tag will be served and that will redirect to "https://agora.stream/event/234