Facebook的新Javascript SDK中是否可以替代FB.Connect.createApplication()? [英] Is there an alternative to FB.Connect.createApplication() in Facebook's new Javascript SDK?

查看:50
本文介绍了Facebook的新Javascript SDK中是否可以替代FB.Connect.createApplication()?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Facebook已弃用了具有FB.Connect.createApplication方法的旧Javascript SDK(

Facebook has deprecated their old Javascript SDK which had the FB.Connect.createApplication method (documentation). Does anyone know if similar functionality exists within their new Javascript SDK? It seems like they cut out a lot of methods :(

注意:这里有Facebook.createApplication,但这是FBJS的一部分,只能在Facebook应用程序中使用.我需要在与FB完全分离的Web应用程序中使用此方法.

Note: there is Facebook.createApplication, but that is a part of FBJS, which can only be used within Facebook applications. I need to use this method in a web app that's completely separated from FB.

提前谢谢!

推荐答案

新Javascript SDK中不存在该方法.新的SDK不再具有这些特定的方法.相反,您将必须调用FB.Api方法并传递参数以进行rest调用或图调用.话虽这么说,就我遇到的创建应用程序方法而言,任何内容都不在Rest或Graph api中.简而言之,我认为这已不再受支持.希望他们最终会重新添加此功能.

The method doesn't exist in the new Javascript SDK. The new sdk doesn't have those specific methods anymore. Instead you will have to call the FB.Api method and pass the parameters to make a rest call or graph call. That being said, as far as anything I have come across the create application method is not in the Rest or Graph api. So in short, I think this is not supported at anymore. Hopefully, they will add this functionality back eventually.

这篇关于Facebook的新Javascript SDK中是否可以替代FB.Connect.createApplication()?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆