开发者

Is there an alternative to FB.Connect.createApplication() in Facebook's new Javascript SDK?

开发者 https://www.devze.com 2023-01-16 22:16 出处:网络
Facebook has deprecated their old Javascript开发者_StackOverflow SDK which had the FB.Connect.createApplication method (documentation). Does anyone know if similar functionality exists within their ne

Facebook has deprecated their old Javascript开发者_StackOverflow 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 :(

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.

Thanks in advance!


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号