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 twitter3d.py -u username
You can get a help using:
python twitter3d.py –help
Brilliant!
It looks awesome!!
Awesome!
I was looking for something like this to use with python.
Is it difficult to work with?
Thanks 🙂
Hi there,
Was this based on the callback_webcrawler.py script included in the examples?
I’d love to take a peek at the source, it looks like really good fun! 😀
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.
Hey Perone,
Thanks for releasing the code! I’ll be having a play with it and see what I can come up with!
It’s great.
Nice blog.
Thanks !
Loved the blog 😀
http://stackoverflow.com/questions/2085676/python-generate-a-graph-for-a-social-network/2085727#2085727
short version: http://bit.ly/86ml7t
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.
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.