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

Fix social preview #63

Open
bgins opened this issue Sep 15, 2022 · 2 comments
Open

Fix social preview #63

bgins opened this issue Sep 15, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@bgins
Copy link
Member

bgins commented Sep 15, 2022

The social preview at https://webnative.netlify.app does not currently unfurl to app information and the social preview image. It can be inspected at https://www.opengraph.xyz/url/https%3A%2F%2Fwebnative.netlify.app%2F.

I think the issue might be in the dynamic way we fill in the meta tags. It may be that social media platforms do not execute the necessary JavaScript to populate the tags. They do appear to render fine in a webpage and can be inspected there.

Maybe there is a SvelteKit config that could help us with this? Another alternative would be hard-coding the values into app.html, but it would be nice to find a better way.

@bgins bgins added the bug Something isn't working label Sep 15, 2022
@jeffgca jeffgca added this to the 0.3 Alpha 3 milestone Oct 18, 2022
@bmann
Copy link

bmann commented Oct 30, 2022

Yes AFAIK you need static / server side rendered info for social graph.

@walkah walkah removed this from the 0.3 Alpha 3 milestone Nov 15, 2022
@bgins
Copy link
Member Author

bgins commented Jan 10, 2023

We may be able to use https://www.npmjs.com/package/svelte-meta-tags to generate the meta tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants