TL;DR: I search “@awscloud” in their Twitter Bio and add their profiles to a public Twitter list.
One opportunity to get fresh news from the AWS ecosystem is to follow relevant current or former Amazon (Web Services) employees called Amazonians on Twitter, but it can be difficult to stalk their profiles across the myriad of user profiles talking about #AWS subjects…

Lately, I was working on a quick Python Proof of Concept (another excuse to ramp up my Python š skills) to query the Twitter API to find profiles with a specific Twitter description/bio, and I asked myself if I could use this to find more and more AWS employees :roll_eyes:
code sneak-peak
|
|
==> Full source code available on GitHub.
I need to do a lot of code optimization and cleaning, I know, but it’s a working sample. I’ve got a few ideas to enhance a later reusable version for other usages. Don’t hesitate to submit enhancements via PR.
At the moment, my methodology is pretty naive: I’m only searching the “@awscloud” keyword in the bio, and adding corresponding users to a specific Twitter list.
At the moment, the best fishing ratio came from AWS CEO Andy Jassy. Yeah, if you are an AWS employee you are following your boss. I will try other well-known personalities in this space. I’ve tried Jeff but without great success.
Surprisingly, some Amazonians subscribed to this public Twitter list… We’ve come full circle here… :muscle:
Limitation
One limitation is the throttling of the Twitter API, but in fine, I just need to be patient like fishing… at the current limit, I’m able to parse 1200 Twitter users per hour… 9600 in one day. It’s pretty slow.
Going deeper
I will enrich this list and maybe other lists (5000 profiles per list) with a scheduled job using a Docker container to refresh, and with a better stalking method:
- I think a good approach could be localization-based: “Seattle” (to get in touch with Product Teams), more bio keywords (
Work,Former), and maybe people following @awscloud as multiple conditions? What do you think? - I will try an infinite loop using matched profiles and crawled profiles, and auto-creation of a list when I reach the 500 limit. (I think I’ll get banned before… š²)
- Data Scientists folks, do you see any ML model that could fit my experiment? We’ll need a large dataset of Amazon employee Twitter profiles to find recurring patterns.
That’s all folks!
zoph.