- This topic has 5 replies, 2 voices, and was last updated 5 years, 3 months ago by Tom.
July 22, 2015 at 11:34 am #122897Henry
Hi. I’m a noob that’s trying to get an old blog up date. We converted to GeneratePress yesterday and very happy with the theme and the add-ons we’ve purchased. We’re having a problem though with sharing to Facebook. This problem actually predates the theme switch so it probably has nothing to do with the theme (I thought our old theme was the problem, and obviously it’s not.
So here’s the issue. When sharing a post on FB it seems that there are no OG metatags in the post. As such no image is selected to appear as a thumbnail in FB post. Been trying to figure out why these tags aren’t being generated and haven’t found anything in plain english.
Note the problem happens when the image in the post is hosted on our server. If the image is hosted elsewhere it normally works fine on FB.
There was a hotlinking protection that was turned on in the CPANEL settings which I’ve disabled but the problem persists.
Here’s a sample post:
The error I get on the facebook debugger is:
og:image was not defined, could not be downloaded or was not big enough. Please define a chosen image using the og:image metatag, and use an image that’s at least 200x200px and is accessible from Facebook.July 22, 2015 at 11:46 pm #122965TomLead DeveloperLead Developer
Are you using an SEO plugin like WordPress SEO? Usually they take care of setting these images.
If not, and you don’t want to use a plugin like that, maybe this plugin will help: https://wordpress.org/plugins/wonderm00ns-simple-facebook-open-graph-tags/
Let me know 🙂July 23, 2015 at 6:50 am #123029Henry
I think the issue is on the server side. OG tags are being set but Facebook isn’t picking up the images. When I try to access images directly using their direct links I get a 403 error. Someone had previously disabled Hot linking in the cpanel but even after enabling it the problem persists.July 23, 2015 at 9:39 am #123061TomLead DeveloperLead Developer
Ah yea, 403 forbidden errors are definitely hosting/server related.
You may want to give your hosting a call and see if there’s anything they can spot for you.July 23, 2015 at 9:48 am #123066Henry
Will do. Thanks.July 23, 2015 at 10:40 am #123098
- You must be logged in to reply to this topic.