如何在Facebook上嵌入互动内容?

时间:2015-05-09 19:08:35

标签: facebook facebook-graph-api

我有兴趣在社交媒体上分享嵌入式内容。我的目标是允许房地产经纪人分享他们正在销售的房子的幻灯片放映,为此我真的希望能够嵌入内容而不是链接回来。

我想要做的一个很好的例子是here, on the authorStream facebook page.

他们如何嵌入此内容?他们和Facebook有什么交易吗?

1 个答案:

答案 0 :(得分:1)

如果您对他们如何执行此操作感兴趣,我建议您使用OpenGraph Debugger并观察他们添加到页面中的标记,以便在此表单中显示此内容。这是一个样本:

<meta name="og_site_name" property="og:site_name" content="authorSTREAM" />
<meta property="og:title" content="15 Steps to Prepare for an Interview -Sachin Karpe " />
<meta property="og:description" content="Sachin Karpe shares few steps before you walk for an interview.- authorSTREAM Presentation" />
<meta property="fb:admins" content="632248145" />
<meta property="fb:app_id" content="26672622939" />


<meta property="og:image" content="http://authorstream.s3.amazonaws.com/content/2177074_635379786451345000.jpg" />
<meta property="og:type" content="movie" />
<meta property="og:url" content="http://www.authorstream.com/Presentation/sachinkarpe-2177074-15-steps-prepare-interview-sachin-karpe/" /> 
<meta property="og:video" content="http://www.authorstream.com/Player.swf?p=2177074_635379786451345000&r=1&pt=3&fb=1&mb=1&nb=1&pl=as&ap=0&c=#dfdfdf&fi=1" />
<meta property="og:video:secure_url" content="https://www.authorstream.com/player.swf?p=2177074_635379786451345000&r=1&pt=3&fb=1&mb=1&nb=1&pl=as&ap=0&c=#dfdfdf&fi=1" />
<meta property="og:video:height" content="402" />
<meta property="og:video:width" content="481" />
<meta property="og:video:type" content="application/x-shockwave-flash" />

最后,您可以查看Facebook的Open Graph Get Started文档