Facebook Like button - fetches “wrong” image [duplicate]

蓝咒 提交于 2019-12-04 09:57:22

You'll want to use open graph tags (namely <og:image>) to specify what image you want to show.

Additionally, you can use the URL Linter to debug what you're sending Facebook. You may have some issues with the linter as it says it decaches when you lint a URL, but in practice it doesn't always work that way.

defines

You can provide metadata at the page you're liking that will populate the image.

Check this out: Want custom title / image / description in facebook share link from a flash app

In the example provided the page returns metadata that allows Facebook to set the description, caption, and image for the object (your page) being liked.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!