Facebook登录Meteor手机应用程序(cordova)? [英] Facebook login on Meteor mobile App (cordova)?
问题描述
我打算使用Meteor + Cordova构建一个移动应用程序。希望获得Facebook登录首先工作。显然默认帐户-Facebook包不工作,所以我环顾大气,只找到particle4dev:cordova-fb,所以我试着使用它。
I'm looking to build a mobile application using Meteor+Cordova. Looking to get the Facebook login to work first. Apparently the default accounts-facebook package doesn't work so I looked around atmosphere and only found "particle4dev:cordova-fb", so I tried using that.
我对应用程式开发人员有点困惑。通常我只是使用它为我的网站,所以它很直接。在设置登录详细信息(如ID和令牌),我注册,如果它是一个IOS应用程序?或者我仍然注册,如果其web?它要求我下载XCode SDK的FB,是我应该做什么?是上面提到的包,我应该使用,还是有更多的主流选择可用?
I'm a bit confused about the app developer stuff. Normally I just use it for my website so its quite straight forward. In terms of setting up the login details (such as ID and token), do I register as if it's an IOS app? Or do I still register as if its web?? It asks me to download XCode SDK for FB, is that what I'm supposed to be doing? is the package mentioned above what I should be using, or are there more mainstream options available?
推荐答案
我也遇到了accounts-facebook包的问题。
I was also facing problem with accounts-facebook package. It was using in-app cordova browser and failing at the time of oauth handshake.
我添加cordova:com.phonegap.plugins.facebookconnect@0.11.0至应用程式和应用程式在Facebook上从开发人员帐户启用单点登录。
I added cordova:com.phonegap.plugins.facebookconnect@0.11.0 to app and enabled it for single sign on from developer account on facebook.
如果您遇到任何问题,请查看我的博客此处。我写了一个简单的教程。
If you face any problem then please look at my blog here. I have written a simple tutorial.
这篇关于Facebook登录Meteor手机应用程序(cordova)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!