Home › Forums › WoodMart support forum › Facebook share error: "'og:image' property should be explicitly provided"
Facebook share error: "'og:image' property should be explicitly provided"
- This topic has 13 replies, 4 voices, and was last updated 6 years, 6 months ago by Elise Noromit.
-
AuthorPosts
-
June 5, 2018 at 2:05 pm #61380
YNDParticipantWhen sharing the homepage to facebook the preview is a blank page (see attached). The developer tried to add it from json but facebook fetches the data earlier than jquery works. They have also discussed it with Facebook support.
This is the error message when debugging using facebooks tool:
“Inferred Property The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.”Link to facebook debugger: https://developers.facebook.com/tools/debug/sharing/
Attachments:
You must be logged in to view attached files.June 5, 2018 at 2:52 pm #61398
Elise NoromitMemberHello,
Please find here details on the reason why your page is shared incorrectly and how to fix that: http://www.wpbeginner.com/wp-tutorials/how-to-fix-facebook-incorrect-thumbnail-issue-in-wordpress/
Best Regards
June 6, 2018 at 4:34 pm #61588
YNDParticipantWe already looked at this article and it’s not the solution. What is needed is a way to specify the OG tag for OG image.
June 6, 2018 at 7:17 pm #61607
Artem TemosKeymasterYou should be able to add it to the plugin proposed in the article. Here is a more accurate one that gives you the ability to add these tags manually with PHP snippet http://www.wpbeginner.com/wp-themes/how-to-add-facebook-open-graph-meta-data-in-wordpress-themes/
June 7, 2018 at 1:36 am #61627
gueshuParticipantMaybe you should try Yoast SEO, a great plug in where you can set the default picture for Facebook share amongst other things.
I often have problem with this with my WordPress sites and I use the Facebook debug page to check and regenerate the image.
June 7, 2018 at 6:16 am #61634
Artem TemosKeymasterHi @gueshu, thank you for your suggestion. Yes, it is one of the best solutions for this problem.
June 7, 2018 at 5:42 pm #61770
YNDParticipant@gueshu @Artem – We have Yoast installed and configured.
We tried adding a default image in Yoast but it doesn’t show (see image of setting and image of code).
The problem is that the first image is the plain background from slider revolution and that’s the image the is being pulled by facebook (see attached).Attachments:
You must be logged in to view attached files.June 7, 2018 at 5:44 pm #61774
Artem TemosKeymasterPlease, provide us your admin and FTP access so we can check the configuration.
June 7, 2018 at 5:45 pm #61775
YNDParticipantDo you have an name and email address so I can add you?
June 7, 2018 at 6:43 pm #61777
Elise NoromitMemberHello,
Please add your site admin access into Private area and this information will be confidential and available only for staff
Best Regards
June 7, 2018 at 6:50 pm #61778
YNDParticipantHere
June 7, 2018 at 7:35 pm #61786
Elise NoromitMemberHello,
“This image is used if the post/page being shared does not contain any images” means that this image will be shown in Facebook sharing provided no image has been set for a post.
I have checked a post: http://prntscr.com/js7udt it has a featured image which is used for sharing: http://prntscr.com/js7umdIf you want to see the image which you have set in “This image is used if the post/page being shared does not contain any images” delete all the featured images from all the posts.
There is one more useful option if you need featured image to be set in the post. You can set the featured image for a post and image for Facebook sharing http://prntscr.com/js7vah you will find this option in Yoast in the bottom of a post.
Best Regards
June 7, 2018 at 8:19 pm #61793
YNDParticipantLooks like deleting all the posts and the images that came with the theme solved the problem. Thanks.
June 7, 2018 at 8:26 pm #61795
Elise NoromitMemberHello,
That is the way Yoast works on any theme. Again, you can set the featured image for the post and an image for social networks.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register