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.
  3. netget

  4. Install Gephi.  It is open source and runs on Windows, Mac, and Linux machines. The download website is http://gephi.github.io/users/download/. 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.
  5. Open Gephi.
  6. In Gephi, open the .gml file that you just created.
  7. gephi_open

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

  10. 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.
  11. gephi_algo

  12. Click on the “T” at the bottom of the screen to add labels to the nodes.
  13. gephi_labels

  14.  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.
  15. gephi_sliders

  16. 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.
  17. gephi_export

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:

WordPress.com Logo

You are commenting using your WordPress.com 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