GithubHelp home page GithubHelp logo

twfinder's Introduction

twfinder

Find twitter users by (name, handle, bio, location, followers, following count or verified).

By using Twitter API, The application starts with one user and finds in his (followers/following) any account that matches the search criteria and continues recursively with the matched users.

How does it work

  1. By using Twitter-API endpoints

    • tw-api/followers/ids.json
    • tw-api/friends/ids.json

    And collect the metadata for twitter users

  2. Apply the search criteria on the coming users.

    • Any sub-route under configuration SEARCH_CRITERIA will consider as an and condition
    • Any option in the sub-routes use or condition

Examples SEARCH_CRITERIA Configuration

  • All Users in Berlin have in them bio (Developer, Software or Engineer)
    "SEARCH_CRITERIA": {
        "SEARCH_BIO_CONTEXT": [
            "Developer",
            "Software",
            "Engineer"
        ],
        "SEARCH_LOCATION_CONTEXT": [
            "Berlin"
        ]
    }
  • All Users in Silicon Valley have in them bio (CEO or CTO) and have a verified account
    "SEARCH_CRITERIA": {
        "SEARCH_BIO_CONTEXT": [
            "CEO",
            "CTO"
        ],
        "SEARCH_LOCATION_CONTEXT": [
            "Silicon Valley"
        ],
        "VERIFIED": true
    }
  • All Users have in them NAME (dr) and have more then 1000000 FOLLOWERS
    "SEARCH_CRITERIA": {
        "SEARCH_NAME_CONTEXT": [
            "dr"
        ],
        "FOLLOWERS_COUNT_BETWEEN": {
            "FROM": 1000000
        }
    }

How To Use

Windows Users

  1. Use the prebuilt binary in for Windows Users, Download the binary from HERE
  2. Use the configuration file to configure the app (download from HERE) Update it with your twitter credentials in config.json
  3. Update the SEARCH_CRITERIA in with your search criteria.
  4. run the application
  5. the result will be in result directory

Ubuntu Users

  1. Use the prebuilt binary in for Ubuntu Users, Download the binary from HERE
  2. Use the configuration file to configure the app (download from HERE) Update it with your twitter credentials in config.json
  3. Update the SEARCH_CRITERIA in with your search criteria.
  4. run the application
  5. the result will be in result directory

Build From Source

twfinder build in golang, compile it with golang 13.0 or later

  1. Build the application by run go build .
  2. Update the configuration file with your twitter credentials
  3. Update the SEARCH_CRITERIA in with your search criteria.
  4. run the application
  5. the result will be in result directory

twfinder's People

Contributors

tarekbadrsh avatar

Stargazers

 avatar Abdallah avatar Shenouda Fawzy avatar  avatar xmonader avatar Abdelrahman Ghanem avatar Mohammed Gaber avatar Watheq Alshowaiter avatar Basel Rabia avatar Hazem Noor avatar

Watchers

James Cloos avatar  avatar Khaled 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.