大约一两个星期以来,facebook swf嵌入功能已停止为我的网站工作。我意识到它已停止为几个网站工作,但仍在为soundcloud.com工作。在做了一些研究后,我能够将问题精确定位到一个开放的图形标记。
包含以下内容的网站可以正常工作:
<!DOCTYPE html>
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<meta content="music.song" property="og:type">
<meta content="http://venc.pl/test.html" property="og:url">
<meta content="Asd - Keygen Music" property="og:title">
<meta content="http://i1.sndcdn.com/artworks-000026602093-dp518o-t500x500.jpg?16b9957" property="og:image">
<meta content="Listen to Asd / Asd - Keygen Music | Explore the largest community of artists, bands, podcasters and creators of music & audio." property="og:description">
<meta content="SoundCloud" property="og:site_name">
<meta content="video" name="medium">
<meta content="98" property="og:video:height">
<meta content="460" property="og:video:width">
<meta content="application/x-shockwave-flash" property="og:video:type">
<meta content="http://player.soundcloud.com/player2.swf" property="og:video">
</head></html>
但以下不是
<!DOCTYPE html>
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<meta content="music.song" property="og:type">
<meta content="http://venc.pl/test2.html" property="og:url">
<meta content="Asd - Keygen Music" property="og:title">
<meta content="http://i1.sndcdn.com/artworks-000026602093-dp518o-t500x500.jpg?16b9957" property="og:image">
<meta content="Listen to Asd / Asd - Keygen Music | Explore the largest community of artists, bands, podcasters and creators of music & audio." property="og:description">
<meta content="SoundCloud" property="og:site_name">
<meta content="video" name="medium">
<meta content="98" property="og:video:height">
<meta content="460" property="og:video:width">
<meta content="application/x-shockwave-flash" property="og:video:type">
<meta content="http://venc.pl/player.swf" property="og:video">
</head></html>
因此它基本上归结为og:video tag()中显示的域中的更改。 几年前,曾经有一个网站的白名单能够在Facebook上嵌入swf。这个想法被取消了,但我认为Facebook刚刚回归它。
如何与Facebook取得联系以解决此问题?如果需要白名单,我如何要求列入白名单?
答案 0 :(得分:1)
我认为答案是swf文件需要在https链接上(参见how to share a video from my website on facebook like youtube)