I’m having a couple of problems with $cordovaFacebookProvider, specifically with the “web development” feature:
First, the documentation tells me to use the
setAppID function, but when I opened up the code the correct function turned out to be
Second, when I try to do the configuration that the documentation suggests using the
setFacebookAppId function, I always get the
undefined is not a function error.
Here is the result of a console.log inside my
In fact there is no
Can anyone tell me whats wrong?
I’m having this issue as well
Hi @wedelgaard, did you find a solution for this?
I’m out a of luck, and looks like that no one knows the answer as well
Actually I gave up on the ngCordova Facebook plugin, and turned my attention to openFB:
I seems to work perfectly if you don’t need the naitive facebook login. Give it a go
I believe this is due to you installing ngCordova with Bower. The latest master branch has the most recent changes which reflect the docs.
I just release a new version of ngCordova to account for the changes made in the Facebook Plugin https://github.com/driftyco/ng-cordova/releases/tag/v0.1.6-alpha
And updated the DEMO inside ngCordova, so go check that out for a working example. https://github.com/driftyco/ng-cordova/tree/master/demo
I indeed installed ngCordova through bower, so maybe that was the problem!
I’m gonna use the version from master, thank you for your help, ngCordova is awesome.