luiscarlosjayk/angular-facebook

missing appID, but I did pass the appID

GonzalesHQ opened this issue · 0 comments

tried passing as string, int .. console always spits out :
"Missing appId setting.
angular.js:10126 (anonymous function)"

using angular seed + angular-facebook

I could post some code, but I dont know which part.
Any ideas d'be welcome.

[
    'FacebookProvider',
    function(FacebookProvider) {
     var myAppId = 'xxxxxxxxxxxxxxxx';

     // You can set appId with setApp method
      FacebookProvider.setAppId(myAppId);

     /**
      * After setting appId you need to initialize the module.
      * You can pass the appId on the init method as a shortcut too.
      */
     FacebookProvider.init(myAppId);

    }
  ]

EDIT:Went for other approach, works, so I'm closing this