Coder Social home page Coder Social logo

rakhithjk / telegram-phone-number-checker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bellingcat/telegram-phone-number-checker

0.0 0.0 0.0 23 KB

This script lets you check whether a specific phone number is connected to a Telegram account.

License: MIT License

Python 100.00%

telegram-phone-number-checker's Introduction

telegram-phone-number-checker

This script lets you check whether a specific phone number is connected to a Telegram account.

To run it, you need:

  1. A Telegram account with an active phone number;
  2. Telegram 'API_ID' and 'API_HASH', which you can get by creating a developers account using this link: https://my.telegram.org/. Place these values in a .env file, along with the phone number of your Telegram account:
API_ID=
API_HASH=
PHONE_NUMBER=

Installing Dependencies

This project uses pipenv to manage dependencies. Install pipenv on your machine, and then this project's dependencies can be installed like so:

pipenv install

Usage

pipenv run python telegram-phone-validation.py

You can expect the following possible responses:

  1. If available, you will receive the Telegram Username that is connected with this number.
  2. 'Response detected, but no user name returned by the API for the number: {phone_number}'. This means that it looks like the number was used to create a Telegram account but the user did not choose a Telegram Username. It is optional to create a Username on Telegram.
  3. 'ERROR: there was no response for the phone number: {phone_number}': There can be several reasons for this response. Either the phone number has not been used to create a Telegram account. Or: The phone number is connected to a Telegram account but the user has restricted the option to find him/her via the phone number. Or: another error occurred.

telegram-phone-number-checker's People

Contributors

johannawild avatar loganwilliams avatar noslouch 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.