How to analyze your Facebook friends network with R …

But now, thanks to Pablo Barbera, there is the RFacebook package which provides a collection of R functions to access data from your Facebook social network. To use RFacebook, you first need to sign up for a Facebook developer account, which is quick and easy as long as you already have a Facebook profile.

https://blog.revolutionanalytics.com/2013/11/how-to-analyze-you-facebook-friends-network-with-r.html