visualizing your personal network on Facebook

In my course about social networks, one of the first assignments asks each student to make a visualization of their personal network on Facebook.  Even though all the students are different, there is remarkable similarity in the structure of their personal networks.  It is even more amazing that many of these patterns are predicted by pre-Facebook sociological research, such as Scott Feld’s excellent 1981 paper on social foci.  Here are some examples of the students’ personal networks.

Below are detailed instructions about how to do visualize your personal network using getnet and Gephi, an open-source network visualization program.

    1. Go to the getnet homepage.  Getnet was created Lada Adamic, building on the work of Bernhard Rieder.  For more about getnet, see here.
    2. Use getnet to create a GML file of your personal network.  When using getnet you may check the “sex” box but please do not check the other boxes as this makes the process take a very long time.  Even still, it might take A LONG TIME for getnet to complete its work.  Please be patient.  Once complete please save this .gml file somewhere that you can find it. [NOTE: I BELIEVE THAT FACEBOOK NO LONGER ALLOWS THIS KIND OF DATA ACCESS.]


    1. Install Gephi.  It is open source and runs on Windows, Mac, and Linux machines. The download website is These instructions apply to Gephi 0.8.2-beta (the version currently available for download).  We have heard reports that Gephi does not work well with all operating system (see e.g., this post).  If Gephi does not work on your computer, you can borrow a friend’s computer or do the alternative question.
    2. Open Gephi.
    3. In Gephi, open the .gml file that you just created.


    1. In the “import report” window, set the graph type to be “undirected”, and click “OK” button to finish import.


    1. Change the Layout (left bottom) to “Fruchterman Reingold” and press run.  Once the layout stops changing you can press stop. After trying the “Fruchterman Reingold”, you may explore more layouts.


    1. Click on the “T” at the bottom of the screen to add labels to the nodes.


    1.  Explore the visualization by adjusting the sliders to change edge thickness and label size. You can also roll over specific points to highlight subsets of edges.


    1. Make any additional changes to the graph that you want; be creative.  Once you are done, export the graph.  To do this, click on the preview button at the top of the screen.  Select the options that you want and then click the “Export SVG/PDF/PNG” button on the lower right part of the screen.


Of course, now that you have your data in Gephi there are many more things to explore.  For more information about Gephi, you can check out:

Thank you to Han Zhang for helping me prepare this post.

4 thoughts on “visualizing your personal network on Facebook

  1. Hi!

    I am trying to use NetGet to visualize my Facebook network as well, but nothing downloads when I click the link to start the algorithm. I have my facebook page open in another tab, but the app still doesn’t grab anything. Under the “download” header, it says “0 nodes, 0 edges.”

    Am I missing a step in the process? I’ve read and re-read your instructions but I can’t find where I’m going wrong.

    Please let me know as soon as possible! Thanks for your help!

  2. Hi. I think Facebook changed the things to disable this possibility. When I tried 2-3 years ago, there was no problem, and we could get many information. But since about one year, it became impossible for me to generate any graph from Facebook.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s