I have 2 questions
Does the requestPermissions field go here(Running on click)
Meteor.loginWithFacebook({requestPermissions: ['user_friends']});
or here
ServiceConfiguration.configurations.insert({
service: "facebook",
appId: Meteor.settings.facebook.appId,
secret: Meteor.settings.facebook.secret,
requestPermissions: ['user_friends']
});
When adding the requestPermissions field to the ServiceConfiguration, it does not seem to take any effect.
Both options don't show the friendslist on the services.facebook field. where can i find the friends list? Is this a bug with the current facebook accounts package? I also tried doing this
Accounts.onCreateUser(function (options, user) {
debugger;
// nothing here, options just holds name.
return user;
});
Help please