开发者

Prevent facebook from suggesting images when sharing a link

开发者 https://www.devze.com 2023-02-07 17:56 出处:网络
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 y

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

精彩评论

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