pdougall1 / fun-schedular

0 stars 0 forks source link

find or create new user with facebook id from owner field #1

Open pdougall1 opened 9 years ago

pdougall1 commented 9 years ago

When getting event data we get an "owner" value that refers to a facebook user. We should search for that facebook user when persisting the event. If that user is not found we should create one.

Problem comes in when we already have a concept of that user, just don't know that it is them. Potentially this can be overcome with other traditionally unique fields. However email doesn't come in from facebook. Maybe first and last name?