creates a d3.js nodemap of your twitter friends' relationships
##Roadmap
###SQL tables
followers
ID @NAME
following
ID @NAME
friends
ID @NAME
friends_following
ID FRIEND_NAME FOLLOWING_NAME
###Process/Pseudocode
- gather
followers
per https://github.com/keaneingram/Twitter-Followers/blob/master/followers.php#L51-L55 - truncate
followers
, fill with result - repeat steps 1 and
- 2 with
following
instead - get SELECT * FROM
followers
A INNER JOINfollowing
B ON A.atname = B.atname - compare result of inner join with contents of friends per https://github.com/keaneingram/Twitter-Followers/blob/master/followers.php#L60-L73 d
- delete lines from
friends_following
whose friend.atname matches output of L71 - do 1 and
- 2 again for each line of
friends
- delete lines from
friends_following
matching the friends.atname being operated on in 8 - replace in friends_following with output of 9
- output
friends_following.friend_name
andfriends_following.following_name
as "source" and "target" in json block per http://bl.ocks.org/mbostock/1153292 - there is no step 13