2
I’m using tags
og:
Open Graph
to have a snippet
customized when my website link is shared,
but when I paste the link to compartilhar
me is given an option of images to be inserted (via selection arrows)
but created only one tag <meta property="og:image" content="">
was to display only one image (the one I defined).
HTML code of the Open Graph tags.
<meta property="og:title" content="Titulo site">
<meta property="og:description" content="Descrição">
<meta property="og:url" content="url">
<meta property="og:image" content="imagem">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Site name">
Snippets with two images (I want with only one, uncle-sam’s) Details:
- Images are in the same folder (and are the only files in it).
- The images are in a
div
and are the only pictures immediatelyfilhas
of thisdiv
and areirmãs
.
What I’ve done to try to solve
- Remove unwanted image from the folder where the desired image is (uncle-sam). It did not work.
- Put a
/
closing in thetag
. Didn’t work.
Have you tried using facebook debug? https://developers.facebook.com/tools/debug/
– KaduAmaral
facebook caches, debug has the option to clear the cache.
– KaduAmaral
@But he wasn’t even supposed to cache this image because I didn’t specify any time.
– Ricardo
@Kaduamaral, in Debugger this way shows how the image uncle-sam in the tag og:image but in the snippet shows another image.
– Ricardo
@Kaduamaral, How can I delete the cache?
– Ricardo
Make the URL Ubmit and then it will show you the options, then appear two buttons, the
Fetch new scrape information
clears the cache. I did the test here, and only a picture of uncle Sam is showing up– KaduAmaral