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

OG Images arent working on Linked In #1377

Closed
wesbos opened this issue Nov 14, 2023 · 4 comments
Closed

OG Images arent working on Linked In #1377

wesbos opened this issue Nov 14, 2023 · 4 comments
Assignees

Comments

@wesbos
Copy link
Collaborator

wesbos commented Nov 14, 2023

Screenshot 2023-11-14 at 2 47 05 PM

related? https://stackoverflow.com/questions/10042786/how-to-successfully-implement-ogimage-for-linkedin

@wesbos
Copy link
Collaborator Author

wesbos commented Nov 27, 2023

Adding prefix="og: http://ogp.me/ns#" to the meta tags doesn't seem to fix it. Polypane not seeing any issues either

Screenshot 2023-11-27 at 10 58 33 AM

@wesbos
Copy link
Collaborator Author

wesbos commented Nov 27, 2023

Facebook debugger says it's good, but we're missing the og:url. Ill try add that.

Screenshot 2023-11-27 at 11 04 35 AM

@wesbos
Copy link
Collaborator Author

wesbos commented Nov 27, 2023

yeeesh. looks like we had a hardcoded canonical URL in the svelte template. Probably not good for SEO

Screenshot 2023-11-27 at 11 17 05 AM

@wesbos
Copy link
Collaborator Author

wesbos commented Nov 30, 2023

turns out Linked In was somehow side-stepping the Vercel CDN cache, so the generation was taking too long, and it was ignoring the file. Fixed it by also caching the output in Redis. This is better than memory because it spans all serverless regions

#1399

@wesbos wesbos closed this as completed Nov 30, 2023
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

1 participant