XNAnalysis - visualize connections on renren.com

XNAnalysis is a friendship visualization tool designed for renren.com. The goal is to retrieve friends and their connections of the user and then draw a graph to visualize them. Newer versions show a timeline of recent events(such as comments, statuses, mentions etc) as well as highlighting edges for recent activities.

Technically, Fruchterman-Reingold algorithm is used to layout the nodes. Since the graph size is typically around 500, this algorithm can converge in reasonable time.

New Version

Download: https://raw.github.com/windwish/XNAnalysis2/master/XNAnalysis2.zip.

To use it, please first run friendgraph.py or friendgraph.exe on Windows, input your username and password to get data. Then open xnanalysis2.html and enjoy it.

Source Code: https://github.com/windwish/XNAnalysis2.

Legacy Version

This old version doesn’t work because of the changes on renren.com.





  • Version 2.0.0
    • Python crawling utility.
    • Able to crawl 2nd layer networks.
  • Version 0.2.1
    • Recent activities timeline and edge highlighting.
  • Version 0.1.5
    • Refined interface.
    • Now able to drag nodes.
  • Version 0.1.4
    • Pure Javascript implementation, no need for server-side layout. Able to take screenshots.

How to Use

  1. Download and install the plugin.
  2. Goto the “friends” page of renren.com, and click the XNAnalysis icon in your address bar.
  3. Follow the directions.

Note: You need a renren.com account with enough friends in order to use XNAnalysis.