Opengraph image issue while sharing post url
-
Hi
I got different OG image while sharing post URL on different social media app.
Ex. URI Post Url
1) WHATSAPP :
2) LINKEDIN :
How can i fix this issue
-
Seems like whatsapp prefers to pick a different og:image then linkedin. If you inspect the source of that page you can see all the different og:image tags set.
Linked in uses the first one, whatapp seems to pick the last one which is the og:image uploaded in the ACP page.
If you want to get rid of some of these on the topic page you can probably use
filter:middleware.renderHeader
and modifydata._header
that's passed to the hook.
Copyright © 2024 NodeBB | Contributors