Closed ghost closed 9 years ago
@jakope you can use it like that:
FB.login('email,user_likes,manage_pages').then(function(response) {
console.log('success', response);
}).catch(function(reason) {
console.erorr('error', reason);
});
Thank you!
Matteo Centenaro notifications@github.com schrieb am Fr., 10. Juli 2015 17:50:
@jakope https://github.com/jakope you can use it like that:
FB.login('email,user_likes,manage_pages').then(function(response) { console.log('success', response); }).catch(function(reason) { console.erorr('error', reason); });
— Reply to this email directly or view it on GitHub https://github.com/pitchtarget/ember-cli-facebook-js-sdk/issues/2#issuecomment-120442030 .
@jakope I'm closing this issue, if you find any problem feel free to re-open this ticket or create a new one.
Hey, fthank you for your work!
But.. how to use scope like the original FB SDK inside of a controller?
example: FB.login(function(response) { // handle the response }, {scope: 'email,user_likes,manage_pages'});
Thank you for your answer, Greetz jakope