Netvizz is a tool that extracts data from different sections of the Facebook platform (groups, pages, search) for research purposes. File outputs can be easily analyzed in standard software.
When producing academic output with Netvizz, please reference this paper: B. Rieder (2013). Studying Facebook via data extraction: the Netvizz application. In WebSci '13 Proceedings of the 5th Annual ACM Web Science Conference (pp. 346-355). New York: ACM.