Network.py by User not Tweet Label
See original GitHub issueMe again. Another pie-in-the-sky request. Right now, the GEXF file outputs like this:
<node id="822960026289635328" label="822960026289635328">
<attvalues>
<attvalue for="1" value="DarbyEsquire" />
</attvalues>
</node>
So when mapped, it’s really looking at the relationship between tweets. While some hard core data wrangling could map by user, that’s difficult. If you did want people to be able to see central users, etc. (you may not), allowing an option to make the node ID the screen_name of the user rather than the tweet ID might help?
Accordingly, the edge output would then be:
<edge id="1549792" source="823050483678019584" target="823030321276977152" type="quote" />
<edge id="1549793" source="823607709589270533" target="822852245532319744" type="quote" />
with the source/target replaced by usernames.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
How to change Twitter Source Label - DEV Community
1) Open this link and click on "create app" · 2) Give your app a name, this name will be shown on your...
Read more >DocNow/twarc-network - GitHub
Generate network visualizations from Twitter data. ... When the node is a user, its username; by default, it is used as the label...
Read more >error condition "user not found" on twitter with python
The exception is thrown from the api.get_user(...) call. But you're not handling exceptions thrown by that line.
Read more >Python - User object in Tweepy - GeeksforGeeks
Twitter allows us to mine the data of any user using Twitter API or Tweepy. The data will be tweets extracted from the...
Read more >How to Change the Twitter Source Label - TechWiser
Twitter source label alerts the user about the app you are using to post the tweets and appears right next to the date...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @edsu – yep that was the idea. Much more succinctly put. I will give it a try!
Hah yeah, so many lines of communication. 😄 Yes in theory working on another book, although with so many things on the go my big goal is to prune things down for next Fall – so I can do more fun experimenting too! You’re in Toronto for AERI this summer right?