NotesBuddy icon indicating copy to clipboard operation
NotesBuddy copied to clipboard

[BUG]: OpenGraph image not displaying despite valid setup

Open ramxcodes opened this issue 1 year ago • 0 comments

Issue Summary: The OpenGraph image is not showing up when sharing URLs for / & other routes & /notes/[slug], even though:

  • The opengraph-image.png file-based tag exists at app dir root.
  • The opengraph-image.tsx implementation is present for /notes/[slug].
  • OpenGraph validators confirm that the image link/tag is valid and present.

Expected Behavior: The OpenGraph image should be displayed when sharing the URL on platforms that support OpenGraph (e.g., social media sites).

Actual Behavior: No OpenGraph image appears upon sharing, even though the validators say it is set up correctly.

Steps to Reproduce:

  1. Visit a /notes/[slug] page.
  2. Validate the OpenGraph image using online validators (shows valid).
  3. Share the URL on a platform (e.g., Twitter, Facebook, Discord) that uses OpenGraph.
  4. Observe that the image does not appear.

Additional Notes:

  • The tag and implementation seem correct.
  • Might be a caching, url, or deployment issue.
  • Other meta images work as expected.

Request: Please investigate why the OpenGraph image is not displaying on shares, despite a valid setup and passing validators.

ramxcodes avatar Jul 31 '25 04:07 ramxcodes