UMBC ebiquity
Twitter Social Network Analysis

Twitter Social Network Analysis

Akshay Java, 1:00pm 19 April 2007

In the recent series of posts, we have presented Twitter Goolgle Maps mashup, a Twitter search and buzz tracking tool called Twitterment and analysis of geolocation information from the twitter dataset. By providing a neat API, Twitter has enabled researchers to get a better understanding of Microblogging.

In this post, I have used the Large Graph Layout (LGL) tool to visualize the social network on Twitter. Following is a graph constructed using contacts from about 25K users. Notice that there is a link connecting two users if either one has the other as a friend and hence it is an undirected graph (of about 250K edges).

Compare this to the following graph that is constructed using only users who are mutually acquainted. i.e. A knows B and also B knows A.

I find that visualizing such large graphs is quite a challenge and to glean meaningful information from it is even more difficult. However there are a few insights one can gain from this:

  • Interestingly, there are a number of users who are trying to win a popularity contest of some sorts! The complete list of users ranked by the number of friends they have is shown here.
  • A number of bloggers and (perhaps fake?) celebrity profiles have a huge fan following in Twitter. Here is a list of users ranked by number of followers.
  • The two graphs shown above look very different on account of the fact that users with public profiles get a lot of followers whom they might not really know and would hence never add them as an acquaintance (well, in most cases atleast). But to really understand what the differences are one would need to look at the community structure and properties of the two graphs.

Finally, for completeness, here is a list of users ranked according to their PageRank scores. It is noticeably similar to the rankings generated by Twitterholic. This can be explained by the fact that local metrics (like number of followers) in a social network are a good first order approximation of rank. Dr. Finin made me aware of research by social network expert Valdis Krebs, who uses “reach” as a measure in human social networks. Here a person’s reach is the number of other people that are within N links in the network where N is usually 1, 2 or 3 for human networks. So, Twitterholic rank for example is the case with N equal to 1.
[Thanks Eytan and Matt for suggestions on Graph Visualization tools. Related: Matt, Bruno’s posts on network visualization of Belgian bloggers]

15 Responses to “Twitter Social Network Analysis”

  1. jansegers Says:

    I’ve been a fan of twitter from the first time I’ve seen it.

    Ever since I’ve learned about the concept, my interest in microblogging and its potential to change the world has been steadily growing.

  2. Chris Messina Says:

    Hmm, interesting. Unfortunately, none of your text files seem reachable from the outside world… I get this error message:

    “Safari can’t open the page “” because the server unexpectedly dropped the connection, which sometimes occurs when the server is busy. You might be able to open the page later.”

    Would love to see those data points…!

  3. Paul @ Web Design Ireland Says:

    hi Akshay,

    Is the link for the users ranked by Pagerank an intentionally blank file? I couldnt see anything…I know the URL is prank.txt, so Im just wondering if its an extension of something Chris is seeing..

  4. Akshay Java Says:

    We had some issues with our WordPress upgrade and hence the files are no longer reachable. Let me try to correct it and update the appropriate links.

  5. Edwin Says:

    Nice graphic interpretation, still i believe taht twitter in general is a bit overrated

  6. Color + Design Blog / Communicating Through Color: Infographics by COLOURlovers Says:

    […] Java, from ebiquity group, used the Large Graph Layout (LGL) tool to visualize a large social network on Twitter. The top graph shown here was built using contacts from about 25,000 users. Notice that there is a […]

  7. Marcelino 2.0 » Blog Archive » Communicating Through Color: Infographics Says:

    […] Java, from ebiquity group, used the Large Graph Layout (LGL) tool to visualize a large social network on Twitter. The top graph shown here was built using contacts from about 25,000 users. Notice that there is a […]

  8. Aeromental sale en 2 gráficos de Twitter Social Network Analysis =A= Aeromental Says:

    […] Página Fuente del estudio. Tags: Aeromental + gráfico + twitter + Ver todos […]

  9. Twitter Search Says:

    thats great that you are talking about the twitter api,a good example of searching with the twitter api is on because you can search on twitter and google at the same time.

  10. Max Kiesler - Designer » Blog Archive » Twitter Social Network Analysis Says:

    […] Visit the website […]

  11. Richard Boire Says:

    What kind of tools can we use to begin extracting the raw Twitter data in order to analyze it ourselves in terms of text mining as well as looking at interconnections

  12. Are you being followed? | Says:

    […] 3. I do not have my finger on the pulse of net events, or even the news. I do not talk to Shaq or Steve Jobs […]

  13. tweeting spaces « read write do Says:

    […] Can twitter be killer app for the “internet of things”? Apparently not but it hasn’t failed to capture the imagination of many: TwitArcs, TweetWheel, Twitter Statistics, Twitter Spectrum, Twitter Topic Stream, Twitter Social Network Analysis […]

  14. ciberesfera » Blog Archive » links for 2010-01-17 Says:

    […] Twitter Social Network Analysis (tags: visualization twitter socialnetworks microblogging graph analysis) […]

  15. » Networks in Twitter » Cornell Info 2040 - Networks Says:

    […] is immediately apparent how one can build a network structure in Twitter by noting that users have followers and those they are following, and connecting people […]