Friends and Relationships Windows Live contacts Microsoft has developer documentation and a RESTful Contacts API for Windows Live contacts that gives developers access to a user's contacts from Hotmail, Messenger, and Mobile contacts. contacts/. More information is available on their developer website: Yahoo! Yahoo! has a Contacts API that can be used to look up a user's address book contacts. More information is available from the Yahoo! Developer Network: . Gmail contacts Gmail has a Data API for accessing contacts from other applications. More information on this is available at: . Automatically connecting with friends Don't forget, if the e-mail address already exists in the database, we wouldn't want to. | Friends and Relationships Windows Live contacts Microsoft has developer documentation and a RESTful Contacts API for Windows Live contacts that gives developers access to a user s contacts from Hotmail Messenger and Mobile contacts. More information is available on their developer website http contacts . Yahoo Yahoo has a Contacts API that can be used to look up a user s address book contacts. More information is available from the Yahoo Developer Network http social rest_api_guide . Gmail contacts Gmail has a Data API for accessing contacts from other applications. More information on this is available at http apis contacts . Automatically connecting with friends Don t forget if the e-mail address already exists in the database we wouldn t want to send them an e-mail inviting them to join. Instead we would either want to automatically create a relationship between the two users e-mailing the recipient friend that they have a new pending friend request or once the invitations had been sent we would list all of the contacts from their address book s that already exist on the site allowing them to view their profiles and connect with them if they wish. Members Once our site has a few members we need to be able to view and search for members so that we can connect and communicate with them. Let s look at creating a member list and basic member search. We will do this by creating a model and a controller for members. The model should be a class Members and saved as in the models folder and the controller should be a class Memberscontroller saved as in the controllers members folder. 102 Download from Chapter 4 Listing users User lists have a limitation with large social networks they end up being large lists of users that are irrelevant to the user viewing the list. This can be overcome by listing a subset of users for instance those in a particular group contact