Closed krook closed 4 months ago
To fix the preview, I think the post could be edited on Linkedin. To trigger Linkedin to check for a new image, the URL in the post just needs to be updated/changed slightly. So if the URL is removed and then the same URL with a query parameter is added it should force update the picture.
Existing URL:
https://www.cncf.io/blog/2024/02/02/oracle-oci-credits-are-now-available-to-cncf-projects-here-is-what-you-need-to-know/
Suggested new URL:
https://www.cncf.io/blog/2024/02/02/oracle-oci-credits-are-now-available-to-cncf-projects-here-is-what-you-need-to-know/?latest
(note the addition of ?latest
at the end of the URL)
If that doesn't work, the social share image for the post could be added directly to the post and this would replace the link preview. The image can be downloaded here.
To fix the root of the issue, we should look at the post that was created on LinkedIn:
https://www.linkedin.com/posts/cloud-native-computing-foundation_page-not-found-cncf-activity-7159214389189910528-NXhN
From the URL for the post on Linkedin, it wasn't just the image that was not found or not being seen, it was also the blog post itself was registered as "Page not found" (page-not-found-cncf-activity
in the direct post URL)
Looking at WordPress, the blog post was published Febraury 2, 2024 at 08:00 and looking at the logs this seems to be true.
From what I can see, the LinkedIn post was scheduled and published via HubSpot and was scheduled for February 2, 2024 at 08:02. But we don't have any logs or exact time it was published. The social team also use a tool called Sprout Social.
HubSpot has a feature called "Publish like a human" which makes the posts publish at random times within 10 minutes of the scheduled time.
This feature is enabled on the LF account. So the blog post went live at exactly 08:00, but the Linkedin post could have been posted between 07:52 and 08:12. If it was posted before the blog post was live, it would have been marked as "Page Not Found", as this post was, and as the post before it also was.
I think that is likely the reason for the "Page not found" and the wrong social image being set.
1) We could turn off "Publish like a human" on HubSpot. But this is a shared setting across all LF properties, so turning it off may not be wanted universally so we would need to check this is OK to edit.
or
2) Schedule LinkedIn posts on HubSpot for at least 10 minutes after they go live on the CNCF blog. This should then make sure the blog post is always published before the post is created on LinkedIn or on other platforms. Currently the social posts are shared 1-2 minutes after the post goes live, so the odds of the share happening before the blog post is live is high.
To check if a website or the platform is at fault for not displaying the correct social share image you can use a couple of tools to check a pages social share image - socialsharepreview.com and also LinkedIns own social share tool
@cjyabraham Could there also be caching on the server side, so even though the blog post is "published" at 0800 it may not appear to everyone (including social media scheduling tools) until a few more minutes pass? I am thinking of this issue.
Had the social team try to edit the original LinkedIn post - updating the link with a query param did not trigger re-fetch, and there was no way to add an image or remove the link. So looks like editing after the fact is not possible. They re-posted the article and this time the page/image worked.
Have asked social team to experiment with 10 minutes delay added to scheduled posts after blog post schedule posting time.
The social team are now posting 10-15 minutes after the blog posts are scheduled, and this problem seems to have stopped. We will keep an eye on future posts.
Seems like there's been a rather recent change to the social tiles on LinkedIn, at least. The shared URL is correct, but the metadata returns "Page not found" as its title.