Acquiring my Facebook graph
In Facebook the friends represent nodes and the relationship between two friends represents links but we can get a lot more information from it, such as gender, age, post list, likes, political affiliation, religion, and so on. And Facebook provides us with a complete Application Programming Interface (API) to work with its data. You may visit the following link for more information:
https://developers.facebook.com/
Another interesting option is the Stanford Large Network Dataset Collection, where we can find social networks' datasets well formatted and anonymized for educational proposes. Visit the following link for more information:
http://snap.stanford.edu/data/
Tip
Using the anonymized data, it is possible to determine whether two users have the same affiliations, but not what their individual affiliations represent.
Using Netvizz
In this chapter we don't get into the use of the Facebook API. The easiest method to get our Friends list is by using a third-party...