本文介绍了是否已弃用Facebook init()的channelUrl参数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我记得,有一个 FB.init()的channelUrl选项,但是似乎根据

I remember that there was a channelUrl option for FB.init(), but it seems that it does not exist anymore according to this page

此功能是否被弃用?

推荐答案

是的,不再需要channelUrl。这是博客文章的引用:

Yes, channelUrl is no longer required. Here's a quote from the blog post:

为了使JavaScript SDK能够与Facebook进行通信,我们现在需要对HTML5 postMessage进行本地支持,或者支持Flash,最低版本为8.0.24。作为此更改的一部分,我们不再支持使用channelUrl初始化选项来提供回退机制。

In order for the JavaScript SDK to be able to communicate with Facebook, we now require either native support for HTML5 postMessage, or support for Flash, minimum version 8.0.24. As part of this change, we are no longer supporting the use of the channelUrl initialization option to provide a fallback mechanism.

资料来源: a href =https://developers.facebook.com/blog/post/2013/11/21/platform-updates--new-design-for-follow-button-and-like-box--ios-sdk-改进和更多/> Facebook Blog,2013年11月

Source: Facebook Blog, Nov 2013

这篇关于是否已弃用Facebook init()的channelUrl参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-24 05:49