Twitter in 3D !

I was doing some tests on the Ubigraph dynamic graph visualization tool and I have this idea to use the Ubigraph tool to render 3D graphs of Twitter friends on real-time. Follows the video of the scripting utility I’ve created, it starts with a red node of your twitter and when you click, it shows your friends, when you click on your friends, it shows their  friends, and so on. I think it is interesting those social network graphs, when I got more time I’ll put more ideas on the pratice =)

Update (26/02): download here the script source-code.
To use it, you must install python-twitter, use the easy_install:

easy_install python-twitter

I’ve tested with Python 2.5, but it should works on 2.4 and 2.6 too.

Start the Ubigraph visualization server and run the script. The syntax for the script is like this:

python -u username

You can get a help using:

python –help

11 thoughts to “Twitter in 3D !”

  1. Hi there,

    Was this based on the script included in the examples?

    I’d love to take a peek at the source, it looks like really good fun! 😀

  2. Hello Roo, it’s based on the use of a callback to expand the nodes (which represents a twitter account), but it have some issues to avoid the insertion of repeated users, etc… I’ll release code this morning, I just need to remove some ugly code from the script.

  3. Hey Perone,

    Thanks for releasing the code! I’ll be having a play with it and see what I can come up with!

    1. Hehe thanks, I think I should try other visualization techniques, twitter visualization is very interesting, language processing in twitter is awesome too, it’s like a poll of recent events without the need to ask people for the answer.

  4. I really appreciate you sharing the script source-code for the function. It’s been pretty swell since I utilized it on my twitter. I’m hoping for more posts like these on your updates.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.