-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[Not functional] - Social images #437
Comments
They seem to be working on my end: https://transitivebullsh.it/api/social-image?id=b24073e8-4971-4172-aba8-d636448a69c3 The social image code is in an API edge function here: https://github.com/transitive-bullshit/nextjs-notion-starter-kit/blob/main/pages/api/social-image.tsx It's using the official This approach does have its downsides, though, so if it's not working for your deployment, we can try to figure out what's wrong. Are they working locally when you run the dev server? |
@transitive-bullshit I think the API isn't functioning well |
@transitive-bullshit So I'm aware that its on the fly, however when I step through the code, its not receiving any data or generating anything, but it is loading the Notion page. Not sure what its meant to be loading into the |
I had same issue yesterday, I reduced some extra stuffs from that page like removed date, removed font, and reduced dimension of image and worked fine. |
I think image generation functionality working properly well and I was facing the problem of- Image generation for social media previews are working well in development (localhost) but in production I was getting Please disable Vercel Authentication so that every time when you hit the end point, it'll return the generated image as response. |
…or preview images in Vercel. fixes transitive-bullshit#435, fixes transitive-bullshit#437
* document-fix-for-social-media-preview-images: Document the Deployment Protection setting causing 401 Unauthorized for preview images in Vercel. fixes transitive-bullshit#435, fixes transitive-bullshit#437
This should now be fixed if you pull latest. Examples: |
…or preview images in Vercel. fixes transitive-bullshit#435, fixes transitive-bullshit#437
Description
Social images are not being generated for any page and there is no insight into how these are controlled, set or generated outside of the get request in the code base
The text was updated successfully, but these errors were encountered: