twitter-graph icon indicating copy to clipboard operation
twitter-graph copied to clipboard

Applying Filters

Open uBadRequest opened this issue 4 years ago • 2 comments

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?

uBadRequest avatar Feb 17 '21 16:02 uBadRequest

Hi @uBadRequest,

That is a great idea, and it is actually already supported:

  1. all the fields returned by the Twitter API are saved by default
  2. thus, they are also loaded in Gephi, see e.g. the first few rows of the Data Laboratory Capture3
  3. 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 Capture
  • when I filter only accounts that contain the word learning in their bio (notice that only the machine learning research cluster is retained) Capture2

eleurent avatar Feb 17 '21 17:02 eleurent

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.

uBadRequest avatar Feb 19 '21 02:02 uBadRequest