Search code examples
facebookimagefacebook-opengraphsharing

Sharing url link does not show thumbnail image on facebook


I have some example url that provide for facebook sharing. But the image inside the url page does not show on facebook comment box. I have already inserted Meta tag like this

<meta property="fb:app_id" content="xxxx"/>
<meta property="og:site_name" content="xxxx"/>
<meta property="og:title" content="xxxx" />
<meta property="og:description" content="xxx" />
<meta property="og:type" content="xxx:photo">
<meta property="og:url" content="http://www.example.com/content/xxx"/>
<meta property="og:image" content="http://www.example.com/images/xxx.png"/>

*And my image is 1000*1000 px(width*height).

Any idea for solve?


Solution

  • Your meta tag should look like this:

    <meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/>
    

    And it has to be placed on the page you want to share (this is unclear in your question).

    If you have shared the page before the image (or the meta tag) was present, then it is possible, that facebook has the page in its "memory" without an image. In this case simply enter the URL of your page in the debug tool http://developers.facebook.com/tools/debug. After that, the image should be present when the page is shared the next time.