twitter-graph
twitter-graph copied to clipboard
Applying Filters
Hello,
Nice project! Would it be possible to add the ability to apply filters to the graph, such as keywords in bio, or number of followers/followings?
Hi @uBadRequest,
That is a great idea, and it is actually already supported:
- all the fields returned by the Twitter API are saved by default
- thus, they are also loaded in Gephi, see e.g. the first few rows of the Data Laboratory
- these attributes can in turn be used in the Filters section of Gephi's Overview panel
For instance, here is the graph of my Twitter friends,
- when I filter only big accounts, with at least 30000 followers
- when I filter only accounts that contain the word learning in their bio (notice that only the machine learning research cluster is retained)
I was also really interesting in getting all the twitter accounts that are followed by at least x number of people that I follow, but i'm not currently following them.
If someone's following like 15,000+ accounts, then I don't really care to fetch the list of everyone they follow. It could be like 3 people I follow are following a specific account, and fetch all the information about them.
I could try to add this myself, seems pretty easy haha.