I have a facebook application which I communicate directly with users via email. Is it a better idea to store the user’s email addresses when they authenticate the application and send an email to ever user in my database
or
should I just store the fbid and execute a query for each user at the time of sending the emails to get the latest possible email address from facebook? This could be much slower, especially if I’m sending out 10,000 emails, but it will give me the latest email addresses in the event a user has changed theirs.
Which one is best?
I would say it is best to store the users email address locally and then subscribe to Facebook real time updates for when the user updates their email address.
I will warn you that you run the risk of having your Facebook app removed due to spam if you are sending unsolicited non-opt-in marketing emails (spam) to users and the way Facebook will know is it too many people deactivate your application or report it as spam.