I'm looking to build a member directory for one of my WordPress sites that hooks into the Facebook API. Site users would be able to browse through the directory of members and view their Facebook profile and information such as e-mail address, phone number, website, etc.
Basically, I'm thinking that members will need to login to facebook from the site and "allow access." Then, WordPress can pull member data from Facebook such as e-mail address, phone number, website, etc. and store it as custom meta in WordPress. One problem with this approach would be when a user updated their facebook profile, the WordPress site wouldn't get updated until they log back into the site and the "update" process kicks off again.
Am I way off base? Is there an easier way to do it?
Is there anything that would get me started with this, or would it need to be built entirely from scratch?