Visualizing Youtube Ego Network Using Networkx


#1

Google wants to store the response/counter response in a file so you don’t have to reauthenticate. Which I get. But it wants to drop random files in your system, which I don’t like. So we’re going to hack around this by dropping them in the temporary directory, so that they’ll be cleaned up on reboot. Technically using this API, I should manually delete them.


This is a companion discussion topic for the original entry at http://benhoff.net/youtube-ego-network.html

#2

To clean up the matplotlib depreciation note, see this stackoverflow post.
basically replace

nx.draw(G)

with

nx.draw_networkx(G)