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

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

Closed
justakim12 opened this issue May 19, 2024 · 5 comments
Closed

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

justakim12 opened this issue May 19, 2024 · 5 comments

Comments

@justakim12
Copy link

Description

  • Hello, first of all thank you for creating this awesome project 👍
  • I've cloned the repository and was making some small tweaks when I ran into a problem where the og:image seems to show an empty image.
  • I think it has something to do with the site.config.ts > domain definition as your og:image seems to work. Do you know what might be the problem? My og: image url is currently https://kyungil-davids-blog.vercel.app/api/social-image?id=e747c93fdc144b9ca6ecf3e634629085
image

Notion Test Page ID

  • e747c93fdc144b9ca6ecf3e634629085
@amanabdullayev
Copy link

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
Copy link

Same issue! Please fix for this

@zodwick
Copy link

zodwick commented Oct 16, 2024

disabling vercel authentications as mentioned in #437 (comment) fixed the issue for me

@amanabdullayev
Copy link

okay, actually I saw this solution #437 (comment) 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
Copy link
Owner

This should now be fixed if you pull latest.

#437 (comment) is also required on Vercel's side for the project to be public in order for social auth to work.

Examples:

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

No branches or pull requests

5 participants