Facebook发布的图片托管在公共CDN上 [英] Facebook Post with picture hosted on public CDN
问题描述
Facebook似乎阻止了任何由CDN支持的图像。
- 这是真的吗?
- 有没有办法解决这个问题?
- 是否有文档说明了您可以在帖子的图片参数中引用什么?
- 是的,Facebook阻止您在帖子,分享等中使用CDN中的图片。
- 是。您可以使用采用CDN映像的中间页面,并将其复制。我的脚本确实如此(见下文)
- 没有关于使用CDN图像的官方文档。
http://sportplatform.sportengland.org/videos/image.php?src=http://a8.sphotos.ak.fbcdn.net/hphotos-ak-snc6/602487_10150174597139971_1671360825_n基本结构是
http://sportplatform.sportengland.org/videos/image.php?src = {image url}
。您可以将图像添加到URL中,在Facebook的CDN上添加一个图像。但是,这是我创建的商业脚本,所以我不建议直接使用它。认为它更像是一个概念证明。
Facebook is seemingly blocking any image that I reference which is backed by a CDN.
- Is this true?
- Is there a way to get around this?
- Is there documentation out there that states what you can and can not reference in the "Picture" argument of a post?
- Yes, facebook prevents you from using images from it's CDN in posts, shares etc.
- Yes. You can use a intermediate page that takes the CDN image and copy it on-the-fly. My script does exactly that (see below)
- There is no official documentation regarding the use of CDN images.
http://sportplatform.sportengland.org/videos/image.php?src=http://a8.sphotos.ak.fbcdn.net/hphotos-ak-snc6/602487_10150174597139971_1671360825_n.jpg
Basic structure is http://sportplatform.sportengland.org/videos/image.php?src={image url}
. You can add an image into the URL, include one on Facebook's CDN. However, this is a commercial script that I created so I don't advise on using it directly. Think of it more like a proof of concept.
这篇关于Facebook发布的图片托管在公共CDN上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!