开发者

Facebook Update Status thumb issue

开发者 https://www.devze.com 2023-04-04 22:05 出处:网络
The Facebook \"Update Status\" is not getting right image of the page. When I paste the http://www.cjp.org/page.aspx?id=245692 link on my \"Update Status\" it only shows on thumbnail of \"Charity Navi

The Facebook "Update Status" is not getting right image of the page. When I paste the http://www.cjp.org/page.aspx?id=245692 link on my "Update Status" it only shows on thumbnail of "Charity Navigator" and completely ignores the main image. On other urls like http://www.cjp.org/page.aspx?id=235964, it shows the main image and gives options of other thumbnails.

Both pages as basically done the same way with cms, the only difference 开发者_JS百科I see is the image ratio. Is that the reason why it's not getting the main image. Is there a way to show the main image without chaining the aspect ratio?

Thanks, Rex


You don't have any open graph data so facebook is just guessing what images, description, title etc you want to show. You need to add open graph meta data to your head, and check it with the url linter to make sure it is reading the things you want it to show, correctly.

https://developers.facebook.com/docs/opengraph/

https://developers.facebook.com/tools/debug/


Use a tag like this:

<link rel="image_src" 
  type="image/jpeg" 
  href="http://www.example.com/image.jpg" />

Note, this doesn't work for everyone. It did work, but many are saying it doesn't anymore. Trying doesn't hurt.

0

精彩评论

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

关注公众号