0

I want Facebook's share.php to ignore certain images for the page thumbnail.

It should scrape my page as it does (without an og:image meta tag for a certain default thumb).

Is there an attribute I can add to the image or a container div?

I don't want to f*** up my page with javascript just for the share scraper tho.

4

1 回答 1

1

sharer.php 已弃用,不应再使用。Facebook 可以随时将其完全删除。

对于类似的,它使用 og 标签。只需在 html 的 head 部分中指定 og:image 标记,无需 javascript 即可更改图像标记 :)

于 2012-02-06T18:27:47.647 回答