The bot is being refactored. v.1.0 was a complete mess, so i decided to come up with a better logic and pattern. v.2.0 is coming soon!
insta-bot is a Telegram bot which tracks instagram stats. It is fully written in Node.js and uses self-written Instagram API
Bot is able to track:
Download and install the latest version of Node.js
Clone this repo, install dependencies and create some files:
git clone https://github.com/belotserkovtsev/insta-bot.git
cd insta-bot
npm install
mkdir cookie
mkdir userdata
echo {"users":[]} > botUsers.json
Add proxy and insert your bot token:
const socksAgent = new SocksAgent({
socksHost: "8.8.8.8",
socksPort: "888",
socksUsername: 'username', //on need
socksPassword: 'password' //on need
});
const bot = new Telegraf('token', {
telegram: { agent: socksAgent }
});
Launch your application with pm2 or node
node index.js
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.