rafaelmardojai / share-preview

Test social media cards locally
GNU General Public License v3.0
101 stars 16 forks source link

Discord event banners #54

Closed GeorgesStavracas closed 1 year ago

GeorgesStavracas commented 1 year ago

The Discord chatting app supports scheduling events with fancy banners, have a look:

obfuscated banner 1

obfuscated banner 2

Is this a good fit for Share Preview?

rafaelmardojai commented 1 year ago

Hmm, this app is more about previewing links, and inspecting their HTML metadata.

Your talking about previewing a static banner by setting image, name, etc. right?

GeorgesStavracas commented 1 year ago

People can share Discord events as links - the share button just puts a link in the clipboard - and these events are displayed like the second image when you paste the link in the chat view.

rafaelmardojai commented 1 year ago

People can share Discord events as links - the share button just puts a link in the clipboard - and these events are displayed like the second image when you paste the link in the chat view.

Have you checked how these links look when shared on other platforms? I mean, presumably the data is retrieved internally by Discord. I guess I will need one of those links and try to inspect it.

GeorgesStavracas commented 1 year ago

I'm afraid I have no further information on how these links work, or if the event data is private to Discord or not, sorry

rafaelmardojai commented 1 year ago

I'm afraid I have no further information on how these links work, or if the event data is private to Discord or not, sorry

No prob. There is another request to add support for discord chat links preview. I guess if I get to work on that I could special case these links if the data is public.

rafaelmardojai commented 1 year ago

Yeah, the events links doesn't provide any metadata, they have normal metadata as an invite link.

Maybe I could to extract the event ID from the url to use some Discord API to get the events details, but that's definitely out of scope.