I redesigned my website recently and one of the changes was using index.php instead of index.html and changing one of the og:image metadata property from favicon_1.jpg to favicon.jpg.
Now, facebook still shows the old og:image, even after I used the url linter.
This is what the “scraper sees”:
<meta property="og:image" content="http://iulianonofrei.com/images/favicon.jpg">
<meta property="og:image" content="http://iulianonofrei.com/images/macro/splinter.jpg">
And this is the graph API:
"image": [
{
"url": "http://iulianonofrei.com/images/favicon_1.jpg"
},
{
"url": "http://iulianonofrei.com/images/macro/grass_2_t.jpg"
}
How can I update the links to show the current ones? Also, the second one is generated by php so I want it to update recordingly, or at least to update properly when I run it through the linter.
And also I have a warning which I can’t figure it out and it annoys me!
I found it myself. I needed to change the
og:urlfromhttp://example.comtohttp://example.com/index.php.