Interesting insights into how Facebook uses user information in Ari Pariser's book The Filter Bubble. You can read a NY Times Book Review here. Also how Google decides what you want to see when you do a search and how things you look at on various websites appear in ads on other sites you visit.