Is there an alternative to FB.Connect.createApplication() in Facebook's new Javascript SDK?
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.
精彩评论