nghiavt
nghiavt

Reputation: 443

Share link on facebook. facebook do not fetch to get description and image

I'm develop sucsongmoi.net (vietnamese language) and when viewer share link of site from their wall some link facebook get description and image, some link facebook could not get description and image.

eg: share sucsognmoi.net facebook do not get description, image but when i share: sucsongmoi.net/nau-gi-hom-nay-84.html facebook could get description and image.

I feel odd because I implement same code for this.

when I share through:
https://www.facebook.com/sharer/sharer.php?u=http://www.sucsongmoi.net/?a=1
then it works. Is that facebook cache my site (như google index)? Then how can I update it?

thanks in advance

Upvotes: 3

Views: 6482

Answers (3)

Lix
Lix

Reputation: 47966

Here is a great tool facebook provides us to deal with exactly these issues -
Meet facebook's URL Debugger.

With regard to YOUR problems, you can see from this report that facebook is unable to retrieve the title & url og:tags.... this is possibly due to the non-standard character set that you are using... can you try change the og:title value to something with only regular English letters? Or alternatively placing some Unicode characters instead.

Upvotes: 4

martincarlin87
martincarlin87

Reputation: 11042

If you want to control the information that is shown when your link is posted in a Facebook status then you must add some Open Graph tags to the head section of your web page.

They are explained here: https://developers.facebook.com/docs/opengraph/

Upvotes: 0

Lix
Lix

Reputation: 47966

I can not see ANY og:tags in your source. You can read more about Open Graph and the og:tags on this link.
Basically you have to place these tags in your page so that facebook can know what information to take and display when a user shares your url.
For example :

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

This will tell facebook about the image to use and the website name.

Upvotes: 0

Related Questions