Skip to content

rishi-raj-jain/twitterUsernamefromUserID

Repository files navigation

Pull Requests Welcome first-timers-only Friendly GitHub license Selenium Python Chrome

No authentication. No API. No limits.

twitterUsernameviaUserID is an advanced Twitter scraping tool written in Python and Selenium that allows for scraping tweet usernames from the twitter id's, without using Twitter's API.

tl;dr Benefits

Some of the benefits of using twitterUsernameviaUserID vs Twitter API:

  • Can fetch all tweet usernames from their id's (Twitter API limits to last 3200 Tweets only);
  • Fast initial setup;
  • Can be used anonymously and without Twitter sign up;
  • No rate limitations.

Requirements

  • Python >= 3.6
  • Selenium
  • WebDriver Manager

Installing

Pip:

- pip3 install twitterUsernameviaUserID
- Voila!

Example:

    from twitterUsernameviaUserID import getHandles as gH
    # A dictionary with mapped user ids to their usernames
    temp= gH.getHandles([<list of user ids (in string)>], <delay in seconds>)

About

twitterUsernameviaUserID is an advanced Twitter scraping tool written in Python and Selenium that allows for scraping tweet usernames from the twitter id's, without using Twitter's API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages