How does Spotify create interactive Embeds in Discord?

How does Spotify create interactive Embeds in Discord

Via oEmbed, but your provider has to be added in the allowlist/whitelist by Discord.

So it’s not something you can do unless you run a well-known service because embedding random content is a huge security issue.

@Brett
Discord as a whole is a huge security issue.

Harlow said:
@Brett
Discord as a whole is a huge security issue.

Please explain.

Han said:

Harlow said:
@Brett
Discord as a whole is a huge security issue.

Please explain.

Probably another Twitter “hot take” lol, would love to hear their explanation tho.

Han said:

Harlow said:
@Brett
Discord as a whole is a huge security issue.

Please explain.

Hyperlinks lol.

@Eli
Well this video already calls Discord “the most evil company in the world” so I’m not sure I trust their opinions on things.

Han said:
@Eli
Well this video already calls Discord “the most evil company in the world” so I’m not sure I trust their opinions on things.

Well, good. Opinions aren’t ideal for trusting, facts are.

I recommend watching it and then finding for yourself whether the information shared is trustworthy. Why take their word for it? I did, which is why I shared, but why take my word for it as well?

@Eli

@Brett
Thank you! This is really cool stuff. I wonder what the process is to get whitelisted. I have a bot that would benefit greatly from this but it’s tiny in terms of user scope.

Jessie said:
@Brett
Thank you! This is really cool stuff. I wonder what the process is to get whitelisted. I have a bot that would benefit greatly from this but it’s tiny in terms of user scope.

Again, you will NOT get allowlisted. You do not run a well-known public service with hundreds of millions of users.

Embedding content is inherently risky security-wise, so Discord (and any service for that matter) will only embed content from well-known services in order to protect their users.

Jessie said:
@Brett
Thank you! This is really cool stuff. I wonder what the process is to get whitelisted. I have a bot that would benefit greatly from this but it’s tiny in terms of user scope.

People downvoting this :woozy_face:.

Jessie said:
@Brett
Thank you! This is really cool stuff. I wonder what the process is to get whitelisted. I have a bot that would benefit greatly from this but it’s tiny in terms of user scope.

lol Redditors choose to downvote the weirdest stuff sometimes.

@Brett
It’s literally just an iframe. There is no security issue.

@Brett
Correct. In simple words, it’s just an iframe.

Is this some kind of special Spotify integration that Discord has set up, or is there some way through the API that I could build custom elements like this for bots?

Jessie said:
Is this some kind of special Spotify integration that Discord has set up, or is there some way through the API that I could build custom elements like this for bots?

I’ve wondered this too. It does the same in Slack, so it’s not just a Discord thing at the very least.

Jessie said:
Is this some kind of special Spotify integration that Discord has set up, or is there some way through the API that I could build custom elements like this for bots?

https://chatgpt.com/share/671b0968-005c-8011-a1fc-a185574c101d

edit: read further down, I asked it a few more questions. looks like what you want is method 2 or 3 further down in the conversation. if you want me to ask it anything else just let me know.

@Bao
You people are endless entertainment.

Teo said:
@Bao
Fuck off lol.

Just because YOU can’t do it doesn’t mean that it can’t be done.