mercredi 6 mai 2015

Meteor Twitter/Facebook login callbacks

I'm working on an account system where in which a user can create their account with an email address, and a password, and they can then link their account to either twitter, or facebook, in order to pull in their profile image.

The thing I can't seem to figure out, is how to get either login to send a callback.

Im using the link-accounts package, and everything's working, but I'm not sure how to hook into the process. On linking the account, I'd like to be able to trigger an event, and I'd also like to allow users to unlink their accounts.

Anyone familiar with doing this?

Aucun commentaire :

Enregistrer un commentaire