开发者

Prevent facebook from suggesting images when sharing a link

When I share a link(page) from my application, facebook suggests some images, description etc. Is it possible to disable this, 开发者_如何学编程especially images.


You can set the following options in your HTML-header.

<meta name="description" content="My share text" />
<link rel=”image_src“ href=”my-image.png” />

Then that information will be caught by Facebook and used when you share. Please note though that Facebook caches your site so it will be a few days until you notice any difference on pages that have been shared before. On non-shared pages it will work from the beginning.


You can disable images by selecting the "No Thumbnail" link before posting.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜