How to Dm Instagram Profils In bulk - Free PHP Bot

agent009

Junior Member
Joined
Jul 17, 2010
Messages
127
Reaction score
45
HEllo guys !
I hope that my english will be clear for you, i am an old member here, and wanted to share as much i can and give something in return to this great Forum, This is my second Share , the first was about my free php script to send emails using smtp servers or even gmail / yahoo accounts and reach the inbox , find it here : https://www.blackhatworld.com/seo/send-thousands-of-emails-and-with-70-inbox.1080009/

I will Go ahead about my second addition to the forum, it's a free script made by exploiting an existing library called "mgp25" the original library link is here https://github.com/mgp25/Instagram-API

So i used to it to create a script which will allow you to contact your followers or any ig profil, First let's download my customized script from here https://www65.zippyshare.com/v/XW2kL1kI/file.html

Here is the virus total link
https://www.virustotal.com/gui/file...40cde5644f35a39d71681fc84cbabdb6a91/detection

hti9t5.jpg


The script just need to be uploaded to your hosting website without importing anything with the freaking composer, so i edited it the way its easy to work after a simple upload,

1) the "index.php" in the root is what we need , open it and change , $username and $password , cause we need to login with a real working ig,

2) the following lines are the usernames that you want to contact , you can send your message to many as a dm group so its easy than send one by one that will take time, and don't send to more than 29 this is the actual limit of instagram. the code ares :
PHP:
$user1 = $ig->people->getUserIdForName("rachelmalone05");
    $user2 = $ig->people->getUserIdForName("kimwageyy");
and so until user29

3) you add this users then to the array to prepare our dm request like the following

PHP:
    $recipients = array("users"=>array($user1,$user2,$user3,$user4,$user12,$user5,$user6,$user7,$user8,$user9,$user10,$user11,$user13,$user14,$user16,$user17,$user18,$user19,$user20,$user21,$user22,$user23,$user24,$user25,$user26,$user27));

4) last step is to write the message that shoud be sent to this receipents , edit it here
PHP:
  $text = "Hello this is a test Direct message !  ";

That's all Guys Enjoy it, don't hesitate to contact me , thumb up ;)

Warning This script is not for spam use but only legal use
 
Last edited by a moderator:
that's great, I have made lot of bots for Instagram before. I will share some once I am able to post in this forum.
I have few suggestions to improve your bot.
you need more automations. it will be time wasting each time setting up the list of people you want to contact in advance. try for example upload a bulk list on usernames to contact in a database or text file. and the script takes 29 people randomally each day to contact. The script should be executed via cron jobs. Also thing of implementing spintax function for the message to avoid having the message marked as spam
 
A note, I tried doing this with other programs and IG has a limit on people who have "not" seen your previous messages (if you have an autoresponder). But if they have seen, liked or commented back its unlimited.
 
hey it seem to be pretty nice but the only thing i get by this is Something went wrong: Network: CURL error 5: Could not resolve proxy: ipadress (see http://curl.haxx.se/libcurl/c/libcurl-errors.html). how can i change the proxy to use?
 
that's great, I have made lot of bots for Instagram before. I will share some once I am able to post in this forum.
I have few suggestions to improve your bot.
you need more automations. it will be time wasting each time setting up the list of people you want to contact in advance. try for example upload a bulk list on usernames to contact in a database or text file. and the script takes 29 people randomally each day to contact. The script should be executed via cron jobs. Also thing of implementing spintax function for the message to avoid having the message marked as spam

I am a php developper i know how to do all of this but due to time i can't do it actually, but the main and hard part was done is the sending operation, the rest is all easy to manipulate and create a mysql database to make it more advanced, you can do that my script is free for all. thanks for your review

A note, I tried doing this with other programs and IG has a limit on people who have "not" seen your previous messages (if you have an autoresponder). But if they have seen, liked or commented back its unlimited.
yes right,

hey it seem to be pretty nice but the only thing i get by this is Something went wrong: Network: CURL error 5: Could not resolve proxy: ipadress (see http://curl.haxx.se/libcurl/c/libcurl-errors.html). how can i change the proxy to use?
you should change proxy user name and password and adress and port in this line :

PHP:
$ig->setProxy('http://user:pass@ipadress:port');
 
Is this used to send massive comments?
 
This Script is what i need , btw can you tell us what is the safest dm daily limit?
 
A note, I tried doing this with other programs and IG has a limit on people who have "not" seen your previous messages (if you have an autoresponder). But if they have seen, liked or commented back its unlimited.

But how to extract the users that previously sent DM to the account or accepted. If this could be done some way a autoresponder could be set up. Like asking people to DM and only answer the income DMS, so no limits on this case.
 
But how to extract the users that previously sent DM to the account or accepted. If this could be done some way a autoresponder could be set up. Like asking people to DM and only answer the income DMS, so no limits on this case.

you can contact your followers without having a past conversation with them this is also safe, there is many bots that can extract followers like jarvee or gmt2
 
you can contact your followers without having a past conversation with them this is also safe, there is many bots that can extract followers like jarvee or gmt2
Hi,
Is this script still supported? If so can you share updated links?

Thank you and appreciate the share.
 
Back
Top