Meteor\'s accounts-facebook
package was very easy to set up. To input the Facebook app ID and secret token, I loaded my meteor web app in a browser, and clicked on
The configuration data is stored in mongodb.
If you load up
meteor mongo
Then use db.meteor_accounts_loginServiceConfiguration.find()
you should see your config data
You can update it too! If you got back
{ "service" : "x", "appId" : "x", "secret" : "x", "_id" : "abc" }`
Within the same mongo shell:
db.meteor_accounts_loginServiceConfiguration.update({_id:'abc'},
{$set:{"appId" : , "secret" : }});
(Using the _id
field from the service configuration that you want to edit.
Within Meteor you can use this instead:
ServiceConfiguration.configurations.update({
service:"facebook"
}, {
$set: {
}
});
Note to do this within meteor you need to add this package in with :
meteor add service-configuration