Giter Club home page Giter Club logo

telegrambot-for-instagram's Introduction

Telegrambot-for-Instagram

This telegram bot is used for downloading public posts from instagram and everyone's DP. (Private Profile pictures also)

Before deploying to heroku Create your bot using Telegram:

Note : BotFather is telegrams official bot to create other bots.
  • Send /newbot command to @BotFather
  • Now send your bot name to botfather. eg InstaDownloaderBot
  • Now send username for your bot it must ends with 'bot'. eg instascrapper_bot
  • Congratulations ! Your bot is created successfully.
  • Now copy HTTP API token and keep it secure.
  • Download and unzip above source code.
  • Open TelegramBotInsta.py and search line number 16 and replace 'YOUR_TOKEN_HERE' with your HTTP API token which we got from @BotFather and save it.
  • Initialize git repository using git init command in current working directory.(Current working directory is above source code directory)
  • Now login with heroku cli. Learn more about heroku installation here .
  • Create heroku app using heroku commands in cli -> heroku create instabotapp-example
  • Push to heroku master !

How to deploy on Heroku

Clone this Project or download as ZIP. To clone use following command in Console :

git clone https://github.com/Vinayak-09/telegrambot-for-instagram.git
  • Add your bot token in TelegramBotInsta.py file

Upload/Push this to your heroku account !

Usage

How to get profile pic ?

  • Simply send this to bot -> /instadp username
  • Bot will send image in a while !

How to get posted pic ?

  • Simply send this to bot -> /instaphoto imageUrl
  • Bot will send image in a while if it is public !

How to get posted video ?

  • Simply send this to bot ->/instavideo videoUrl
  • Bot will send video in a while if it is public !

Contributing

Pull requests are welcome.

Contact

telegrambot-for-instagram's People

Contributors

vinayak-09 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.