开发者

Like button results in odd image on wall post [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

How does Facebook Sharer select Images?

I've added a "like" button to my website and it works perfectly, except for the image that Facebook chooses to pull for the th开发者_开发百科umbnail on the resulting wall post. When someone clicks on the "like" button, the wall post features the logo of one of our sponsors rather than our logo.

Is there a way to specify which image facebook takes for wall posts when people click the "like" button?


Yes, add the open graph meta tags to your page. Then you can "instruct" the Like button what to use rather than having it guess.

<meta property="og:image" content="http://site.com/you_image.jpg" />

You should add all the suggested "og" meta tags (title, url, site name, etc)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜