Art Raffle Code
I ran a couple of art raffles on Twitter and I used Python code to help me find the intersection between Twitter users who:
- followed me
- liked the art raffle post
- retweeted the art raffle post
I used the Tweepy API and a web scraper called GeckoDriver to extract that data, then randomised the list so I could find the art raffle winner in an unbiased way.
The code has not been tested since the API changes on X.
The code is available on GitHub.
Return to Freebies