1x1 px og image facebook [英] 1x1 px og image facebook

查看:128
本文介绍了1x1 px og image facebook的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我已经使用了og标签多次,成功地可以与自定义图像共享博客帖子,但由于某些原因,我无法确定这一点。

So i have used the og tags several times and have successfully been able to share blog posts with custom images, but for some reason, I can't figure this one out.

根据fb调试器,我的所有元标记是正确的,我得到一个200代码。即使原始开放图文档信息显示了我添加了http前缀的图像的完整正确路径,如果我复制并粘贴到新选项卡上,将带我到正确的图像。但是对象属性中的图像被1x1 px点替换,我只能看到我是否检查该元素。
我知道整个og的东西已经被一遍又一遍地说了,但是我在这个奇怪的1x1 px问题上找不到答案。
我正在尝试的链接是 http://ladyilgphotography.businesscatalyst.com/lady-ilg-journal/casper-and-maggie-beautiful-wedding-grant-humphrys-mansion-wedding

According to fb debugger, all of my meta tags are correct, and I'm getting a 200 code. Even the Raw open graph document information shows the full correct path of the image I have added with the http prefix, which if i copy and paste on a new tab, will take me to the correct image. But the image in the object properties is replaced by a 1x1 px dot that I can only see if I inspect the element. I know that the whole og thing has been talked about over and over again, but i could not find an answer anywhere for this weird 1x1 px problem. The link i am trying is http://ladyilgphotography.businesscatalyst.com/lady-ilg-journal/casper-and-maggie-beautiful-wedding-grant-humphrys-mansion-wedding

感谢您的帮助。

推荐答案

可能是图像不是问题正确地逃脱在开放标签上。

There's probably a problem with the image url not being properly escaped on the opengraph tag.

最后, og:image 有一个空格,然后是括号...但它不是转载HTML代码: http://ladyilgphotography.businesscatalyst.com/images/journal/love/weddings/Casper和Maggie - wedding / best_wedding_photographer_in_denver(16).jpg 所以一旦Facebook的抓取脚本尝试访问该网址,那么它可能不会找到它...

At the end, the og:image has a space and then parenthesis... But it isn't escaped on the HTML code: http://ladyilgphotography.businesscatalyst.com/images/journal/love/weddings/Casper and Maggie--wedding/best_wedding_photographer_in_denver (16).jpg So once the Facebook fetcher script tries to access that URL, it's probably not going to find it...

你尝试转义该URL中的文件名?

Have you tried escaping the filename in that URL?

这篇关于1x1 px og image facebook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆