Git Product home page Git Product logo

email-tweetdrop's Introduction

Email Tweetdrop

After the initial $NATION tweetdrop, many people complained that they were not included. This was due to issues with the Twitter API. We offered a way for them to send an email with a link to their tweet, in order to be included for a second batch of the tweetdrop. Email was completely flooded by thousands of requests, so we created these scripts to handle them.

Usage

Copy all content of email messages to a file, then:

node import-email.js file.txt > tweets.txt

Now all tweets sent via email are on a file, which we can use to check their eligibility by executing:

node check-eligibility.js tweets.txt > ens-and-usernames.txt

This will output the addresses (now with the Twitter usernames too) to a file. It will also output the amount of those tweets that were invalid, didn't contain ENS addresses, and were bots.

You can perform some manual checks by checking the usernames, and if satisfactory, just split the usernames and leave the ENS addresses by doing:

node split-ens.js ens-and-usernames.txt > ens.txt

Because of a Sybil attack in the first round of the tweetdrop, we needed to create some parameters that would filter bot accounts, such as account creation date and number of followers/following.

email-tweetdrop's People

Contributors

luisivan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.