transitive-bullshit / nextjs-notion-starter-kit

Deploy your own Notion-powered website in minutes with Next.js and Vercel.
https://transitivebullsh.it/nextjs-notion-starter-kit
MIT License
6.28k stars 5.29k forks source link

[Question] Og image is empty when sharing url link #615

Closed justakim12 closed 1 week ago

justakim12 commented 6 months ago

Description

image

Notion Test Page ID

amanabdullayev commented 1 month ago

hey, is there any could fix this?

I am also facing the same issue. When I checked logs on Vercel, I see that there is "Unauthorized" warnings appear every time I share the link: image

northcee commented 1 month ago

Same issue! Please fix for this

zodwick commented 1 month ago

disabling vercel authentications as mentioned in https://github.com/transitive-bullshit/nextjs-notion-starter-kit/issues/437#issuecomment-1826206998 fixed the issue for me

amanabdullayev commented 1 month ago

okay, actually I saw this solution https://github.com/transitive-bullshit/nextjs-notion-starter-kit/issues/437#issuecomment-1826206998 before. But it did not work. Now I figured it out that, once you disable the vercel authentication you need to redeploy the project so it gets effective. Thanks, it is working now!

transitive-bullshit commented 1 week ago

This should now be fixed if you pull latest.

https://github.com/transitive-bullshit/nextjs-notion-starter-kit/issues/437#issuecomment-1826206998 is also required on Vercel's side for the project to be public in order for social auth to work.

Examples: