Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oEmbed spec implementation #7370

Open
JulianusIV opened this issue Jan 26, 2025 · 0 comments
Open

oEmbed spec implementation #7370

JulianusIV opened this issue Jan 26, 2025 · 0 comments

Comments

@JulianusIV
Copy link

Description

Discord does not seem to fully implement the oEmbed spec, specifically section 4 specifies that providers may implement discovery via elements in the served html OR Link headers.
From what I can tell/what i tested Discord only accepts the former

Steps to Reproduce

  1. Implement some valid oEmbed setup on a public website using the header discovery method
  2. check the embed using the embed debugger - just to be sure its valid also use something like iframely's embed debugger
  3. change over to using link element discovery
    you should see that the first method will not work, while the second does

Expected Behavior

Discord should detect and accept both discovery methods, and generate the same embed when served with same data with either method

Current Behavior

Currently Discord does not display an embed when being served a link header instead of a link element

Screenshots/Videos

No response

Client and System Information

I implemented the server serving the website using Actix web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant