使用Javascript API在用户墙上嵌入Youtube视频

使用Javascript API在用户墙上嵌入Youtube视频,youtube,facebook-javascript-sdk,embed,facebook-opengraph,facebook-wall,Youtube,Facebook Javascript Sdk,Embed,Facebook Opengraph,Facebook Wall,我正在尝试使用Javascript API将Youtube视频嵌入到用户的墙上。我倾注了大量不同的教程,得出了以下结论: var data = { method: 'feed', link: current_video_url, // Link to the vide on our site source: current_video_src, // Link to the Youtube video, http://youtube.com/v/[hash] pi

我正在尝试使用Javascript API将Youtube视频嵌入到用户的墙上。我倾注了大量不同的教程,得出了以下结论:

var data = {
    method: 'feed',
    link: current_video_url, // Link to the vide on our site
    source: current_video_src, // Link to the Youtube video, http://youtube.com/v/[hash]
    picture: current_picture_url, // Thumbnail from youtube
    title: current_video_title, // Title from our page
    caption: current_video_description // Text from our page
}

FB.ui(data);
运行Facebook调试器表明当前的_video_url链接正在正确解析OG标记,并且可以作为嵌入式视频使用。我运行了一个调试器,所有变量都在数据变量中正确设置

这在大约2天的时间里效果很好,然后我们就开始了现场直播。我们在Facebook上建立了一个新的AppID,但现在所有的视频都只是缩略图,而不是嵌入到用户的墙上。我想这可能是一个问题,与现场网站,但现在开发网站是打破了太多

让这项工作始终如一的最佳方式是什么