- Posts: 23
COMMUNITY FORUM
Facebook Posting wrong image
- Ruchika Nagarkar
-
Topic Author
- Offline
- Junior Member
Less
More
8 years 7 months ago #158044
by Ruchika Nagarkar
Facebook Posting wrong image was created by Ruchika Nagarkar
Hi,
I have enabled the option for Enable Facebook meta tags to Yes in the SOcial tab in global configuration. And also selected the image size to small when a user shares the item link to Facebook. But when I am posting to facebook the article link it is not taking the article image but taking some other image.
In facebook debug tool, it shows that 'The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.'
In source code of the article page I can see the property 'og:image' being set but also one more meta tag of image is being set.
<meta property="og:image" content="websitename.com/media/k2/items/cache/39a27618f1dc54b80987c6706135e6b7_S.jpg" />
<meta name="image" content="websitename.com/media/k2/items/cache/39a27618f1dc54b80987c6706135e6b7_S.jpg" />
Let me know please what am I missing here
I have enabled the option for Enable Facebook meta tags to Yes in the SOcial tab in global configuration. And also selected the image size to small when a user shares the item link to Facebook. But when I am posting to facebook the article link it is not taking the article image but taking some other image.
In facebook debug tool, it shows that 'The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.'
In source code of the article page I can see the property 'og:image' being set but also one more meta tag of image is being set.
<meta property="og:image" content="websitename.com/media/k2/items/cache/39a27618f1dc54b80987c6706135e6b7_S.jpg" />
<meta name="image" content="websitename.com/media/k2/items/cache/39a27618f1dc54b80987c6706135e6b7_S.jpg" />
Let me know please what am I missing here
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 7 months ago #158050
by Krikor Boghossian
Replied by Krikor Boghossian on topic Facebook Posting wrong image
Make sure that a) Facebook's scrapper can access your site and b) the image is at least 200px on both dimensions.
Please Log in or Create an account to join the conversation.
- Ruchika Nagarkar
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 23
8 years 7 months ago #158055
by Ruchika Nagarkar
Replied by Ruchika Nagarkar on topic Facebook Posting wrong image
Great thanks a lot Krikor. My image size was 500px and facebook scrapper was accessing my site. I solved the problem by going in the following link:
developers.facebook.com/tools/debug/og/object/
and clicked on Fetch new information. Earlier this was taking the older images. Now since the k2 images are coming from cache therefore facebook could not fetch the new image.
Thank you once again your answer helped me to get the solution.
developers.facebook.com/tools/debug/og/object/
and clicked on Fetch new information. Earlier this was taking the older images. Now since the k2 images are coming from cache therefore facebook could not fetch the new image.
Thank you once again your answer helped me to get the solution.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 7 months ago #158061
by Krikor Boghossian
Replied by Krikor Boghossian on topic Facebook Posting wrong image
Nice to hear that the issue has been resolved :)
Please Log in or Create an account to join the conversation.