Skip to content

Open Graph images not working on next.js 15.3.1 despite being present in the HTML #79281

Answered by icyJoseph
h0ngwon asked this question in App Router
Discussion options

You must be logged in to vote

You seem to have logic that, looks for the GRAPHIC_UUID cookie on the incoming request, if not present, you redirect with a Set-Cookie header. Bots, crawlers, SEO, and open-graph parsers, won't necessarily store that Cookie, when following the request. That's why they can't "see" your open graph data.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@h0ngwon
Comment options

@icyJoseph
Comment options

@h0ngwon
Comment options

Answer selected by h0ngwon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants