Hi, let’s see if you can help me out. I have problems when sharing my post either on Facebook, Twitter, Google+ or even whatsapp … about 1-2 months ago everything worked perfect and captured the images of the links that I put but there is no way, I have everything updated and even deactivated all plugins and nothing, for example, facebook is not able to see the tags or g and yes they are if you take a look at the source code of the page.
I have contacted the server and they tell me that they do not block anything and that they do not see the error. I also contacted the Yoast SEO plugin and they tell me that the plugin is working well and the tags are shown so I do not know where the bug came from and I wanted to know if I can do something from the subject.
My site: https://www.lasrecetasdeangy.com
Thank you very much!!
Hi,
When testing a post from your website with the Facebook debugger it seems no meta tags are found in the page
– https://developers.facebook.com/tools/debug/og/object/
If I test a post from the theme live demo the necessary tags are displayed
– https://demo.tagdiv.com/newspaper/
Also it seems that if you click further down the debugger page, on the “See exactly what our scraper sees for your URL” Facebook does not see any ofthe meta tags in the post page source. I could not say why that is happening, maybe there is some useful information online in the matter.
Thanks
Thanks for your answer Simion C.
Apparently I have a problem with the amount of code that is created before the tags, could it be?
I put the leaf style, the fonts and everything before these labels, something that did not happen before, is there any way to move this down?
They commented to me from the server that it seemed that the code of the initial page was not correct, apparently it showed too much code and it could be the reason that Facebook will not get to read these labels.
The code that they advised me to start would be like this:
<!doctype html >
<!–[if IE 8]> <html class=”ie8″ lang=”en”> <![endif]–>
<!–[if IE 9]> <html class=”ie9″ lang=”en”> <![endif]–>
<!–[if gt IE 8]><!–> <html lang=”es-ES” prefix=”og: http://ogp.me/ns#”> <!–<![endif]–>
<head>
<style type=”text/css” media=”all”>/*!
<title>Blog de las Mejores Recetas con Thermomix. Recetas de Comidas, Carnes, Panes, Pescados y Cocina Española</title>
<meta charset=”UTF-8″ />
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<link rel=”pingback” href=”” />
I have fretted with the Autoptimize cache plugin and it seems to have removed enough code from the start, and another one to move it to the end of the page. I see that the page works well and that Facebook now does take the OpenGraph tags, could you tell me if the code looks good now?
Thank you very much Simion C.
I have checked one of your posts, indeed it seems you resolved the problem. Facebook now has access to and finds the meta tags in the page sorce
– https://www.screencast.com/t/nYKk6XYKxlD
That would mean that the sharing will work as intended from now on. Glad you could solve the problem and also also provided an update here on the forum.