@churu88
For the second confirm add this:
For the second confirm add this:
- Auto Follower Instagram Free
- Script Auto Followers Instagram 2018 Free
- Script Auto Followers Instagram 2018 Photos
//Second confirm
var el=document.getElementsByClassName('aOOlW -Cab_ ');
for (var i=0;i<el.length; i++) {
el[i].click();
}
var el=document.getElementsByClassName('aOOlW -Cab_ ');
for (var i=0;i<el.length; i++) {
el[i].click();
}
The whole code then will be then the following:
/**
- Instagram web unfollow script
- WHAT IS IT?
- A script to unfollow people in the instagram website
- WHY?
- I needed to clean my account so I quickly did this
- HOW TO USE:
- Go to your instagram profile while logged in and run the following code in your console
- WHAT DOES IT DO EXACTLY?
- It opens your followers list and goes one by one unfollowing with a random interval of 1 to 10
- seconds in between
- CAN I GET BANNED?
- Yes, although you will first be notified several times about strange activity
- Simply put, use it at your own risk and not for long.
- Created on 15/03/17.
- @author Joel Hernandez [email protected]
*/
openFollowersWindow().then(function () {
populateUnfollowsPool();
digestUnfollowsPool();
});
populateUnfollowsPool();
digestUnfollowsPool();
});
function openFollowersWindow() {
var onFollowersWindowWasOpenedListeners = [];
var openWindowTimeout = 3000;
var onFollowersWindowWasOpenedListeners = [];
var openWindowTimeout = 3000;
}
function getFollowersElement() {
return getFollowersElementWithUsername(getUsername());
}
return getFollowersElementWithUsername(getUsername());
}
function getUsername() {
var pageTitleElement = document.getElementsByTagName('h1')[0];
if (!pageTitleElement) throw new Error('No title to get username from');
return pageTitleElement.innerHTML;
}
var pageTitleElement = document.getElementsByTagName('h1')[0];
if (!pageTitleElement) throw new Error('No title to get username from');
return pageTitleElement.innerHTML;
}
function getFollowersElementWithUsername(username) {
var followersElement = document.querySelectorAll('a[href='/' + username + '/following/']')[0];
if (!followersElement) throw new Error('No followers element was found');
return followersElement;
}
var followersElement = document.querySelectorAll('a[href='/' + username + '/following/']')[0];
if (!followersElement) throw new Error('No followers element was found');
return followersElement;
}
var unfollowsPool;
function populateUnfollowsPool() {
var buttons = document.getElementsByTagName('button');
unfollowsPool = [];
for (var i = 0; i < buttons.length; i++) {
var button = buttons[i];
if (button.innerHTML.includes('Following')) {
var randomTimeoutForUnfollow = Math.floor((Math.random() * 60) + 58) * 1000;
console.log('Following button!');
var buttons = document.getElementsByTagName('button');
unfollowsPool = [];
for (var i = 0; i < buttons.length; i++) {
var button = buttons[i];
if (button.innerHTML.includes('Following')) {
var randomTimeoutForUnfollow = Math.floor((Math.random() * 60) + 58) * 1000;
console.log('Following button!');
}
function digestUnfollowsPool() {
if (unfollowsPool.length 0) {
console.log('Unfollow pool empty, repopulating');
populateUnfollowsPool();
}
var unfollow = unfollowsPool.shift();
var unfollowTimeout = unfollow.timeout;
console.log('Clicking unfollow button in ', unfollowTimeout);
setTimeout(function () {
var unfollowButtonElement = unfollow.buttonElement;
unfollowButtonElement.scrollIntoView(true);
console.log('Clicking unfollow button');
unfollowButtonElement.click();
//Second confirm
var el=document.getElementsByClassName('aOOlW -Cab_ ');
for (var i=0;i<el.length; i++) {
el[i].click();
}
console.log('Clicked. Continuing digesting unfollow pool');
digestUnfollowsPool();
}, unfollowTimeout);
}
if (unfollowsPool.length 0) {
console.log('Unfollow pool empty, repopulating');
populateUnfollowsPool();
}
var unfollow = unfollowsPool.shift();
var unfollowTimeout = unfollow.timeout;
console.log('Clicking unfollow button in ', unfollowTimeout);
setTimeout(function () {
var unfollowButtonElement = unfollow.buttonElement;
unfollowButtonElement.scrollIntoView(true);
console.log('Clicking unfollow button');
unfollowButtonElement.click();
//Second confirm
var el=document.getElementsByClassName('aOOlW -Cab_ ');
for (var i=0;i<el.length; i++) {
el[i].click();
}
console.log('Clicked. Continuing digesting unfollow pool');
digestUnfollowsPool();
}, unfollowTimeout);
}
UPDATE - This script doesn't work anymore, due to changes in the Instagram API
Instagram has made changes in their API that require developers to apply to get permissions to use functionalities publicly.The default is now to work in a sandboxed version of the API. The developers will only be able to access their own or fellow testers/developers accounts without submitting their apps for review.Basicly it means that you will not be able to grow a following, because the script will only be able to interact with your account.
Grow your Instagram follower base using this script.This will use your own account to get real followers that interact with the tags your choose.
Follow me @doefler on twitter to know about updates on this scipt.Please let me know if you would like any other cool features or how this script works for you.https://twitter.com/doefler
Have a look at instagrams api to better understand how the script works.https://instagram.com/developer/
I developed this script for growing the awareness around https://artboost.comThought it would nice to share it with the world and help other startups.So they can survive with minimal marketing budget.
I don't support this automatic bot behavior myself and neither does instagram.Use this script at your own risk!!!
The script does not save any information about which images get liked, what user get followed and so on.That means that it can possibly keep acting on the same items over and over again.Feel free to edit the script to behave more intelligent in that sense and save a record of the actions in a database.
You might get an error like this:
The maximum number of requests per hour has been exceeded. You have made 46 requests of the 30 allowed in the last hour.
Then wait a while before running the script again.Best practices for gaining instagram followers
The script requires
- A server running PHP
- The PHP curl module
Getting started
- Download the script to your server
- Edit the config file (config.php)
- Select the tags you want the script to explore
- Automatic commenting
- Get an access token from instagram
- Setup as cronjob (optional)
- Check the requirements for setting up curl
Setup
Download the script to your server
Download the files to a folder on your server.You need both the config.php and instagram-growth.php file before it can run you need to update the config.php file.
Edit the config file (config.php)
You need to configure all the fields. And replace the UPPERCASE text with your own informationI already provided a default setup.To get your access_token see the guide below.
Set
'debugging' => false
if you are not interested in seeing an output of what the script does.It can be useful to see if you test it in the browser.Like parameters
Choose when and if the script should like images
Like | Desciption | Possible values |
---|---|---|
do | Should this action be performed | true /false |
min_likes | If you only want to like when the images has more than a certain amount of likes already | 0 = no limit / 20 = more than 20 likes |
max_likes | The opposite of min_likes. This limits the action to perfom only on images that has less than a certain amount of likes | 0 = no limit / 20 = less than 20 likes |
Follow parameters
Choose when and if the script should follow the user that uploaded an image
Follow | Desciption | Possible values |
---|---|---|
do | Should this action be performed | true /false |
min_likes | If you only want to follow users when the images has more than a certain amount of likes | 0 = no limit / 20 = more than 20 likes |
max_likes | The opposite of min_likes. This limits the action to perfom only on images that has less than a certain amount of likes | 0 = no limit / 20 = less than 20 likes |
like_recent | If enabled, the script likes the selected amount of recent images by the followed user | do:true /false AND count: 3 = likes the 3 most recent images |
Comment parameters
Choose when and if the script should comment on the image.This feature could quickly feel like a bot for the user.But it does use a random comment generating feature.Set
'do' => true
if you want to try it. And don't forget to configure the 'hello' and 'praise' texts in the config file.Comment | Desciption | Possible values |
---|---|---|
do | Should this action be performed | true /false |
min_likes | If you only want to comment on images when they has more than a certain amount of likes | 0 = no limit / 20 = more than 20 likes |
max_likes | The opposite of min_likes. This limits the action to perfom only on images that has less than a certain amount of likes | 0 = no limit / 20 = less than 20 likes |
Select the tags you want the script to explore
Exclude the hashtag itself '#' when you write your tags.Be aware that the more tags you add, the longer time the script will take to perform.
Automatic commenting
If you want the script to comment on your behalf you should change the predefined texts to something that makes sense to your customers.Make sure to change the UPPERCASE text to your information.
Auto Follower Instagram Free
Skyrim se dark fantasy overhaul. The script will automaticly add the users name between between the 'hello' and 'praise' text.For example a generated comment could be something like:'Hi Mark Anders your picture is really nice'
Get an access token from instagram
Get new token at https://apigee.com/console/instagramAnd follow the guide below.
Step 1
Start by authenticating the console by signing in with your own instagramClick 'OAuth 2' in the dropdown boxThen click the 'Sign in with Instagram' button
Step 2
Select a one of the urls from the pull out menu on the leftRun this request by clicking the orange 'Send' button on the right
Step 3
Your access token for the config can now be found in the left window with the headline 'Request'Copy the value of the access_token and insert into the config.php file (Be aware that it extends to the right behind the vertical window divider).
Cronjob (optional)
Run this script periodically with a cronjob.Add a cronjob in linux
Great intro to setting up a cronjob from linux command lineOpen the cronjob editor in linux shell
Run the script once an hour at xx:00 o'clock
The code to run the script
To prevent the code from waiting for the output of the script we add a little something to the end of it
In the end the code for the crontab looks like this
Script Auto Followers Instagram 2018 Free
Save and close
If using
vi
editor press esc to switch to the command mode, then type :wq
to write (w) and quit (q) and press Enter.If using nano
editor press CTRL + x, then press y for yes and provide a filename before pressing Enter.A great guide on how to do other settings with the cronjobhttp://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/
Requirements
Curl
Install the curl module for PHP using the package manager
You will need to restart the server afterwards
Referencehttp://askubuntu.com/questions/9293/how-do-i-install-curl-in-php5
instagram-follow-script.js
Script Auto Followers Instagram 2018 Photos
/* source https://www.youtube.com/watch?v=UKi1NwqKCz8 |
_aj7mu _r4e4p _95tat _o0442 |
*/ |
var jq =document.createElement('script'); |
jq.src='//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js'; |
document.getElementsByTagName('head')[0].appendChild(jq); |
jQuery.noConflict() |
window.setInterval(function(){ |
var x =0; |
$('button:contains('Following')').each( |
function(){ |
if(x3) returnfalse; |
$(this).trigger('click'); |
$('._4gt3b').scrollTop($('._4gt3b')[0].scrollHeight); |
x++; |
} |
) |
$('._4gt3b').scrollTop($('._4gt3b')[0].scrollHeight); console.log('loop'); |
}, 60000); |
commented Sep 3, 2017
how to use this? |
commented Sep 26, 2017
dont work |
commented Mar 12, 2018
/* source https://www.youtube.com/watch?v=UKi1NwqKCz8 _aj7mu _r4e4p _95tat _o0442 */ var jq = document.createElement('script'); jq.src = '//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js'; document.getElementsByTagName('head')[0].appendChild(jq); jQuery.noConflict() window.setInterval(function(){ var x = 0; $('button:contains('Following')').each( function(){ if(x3) return false; $(this).trigger('click'); $('._4gt3b').scrollTop($('._4gt3b')[0].scrollHeight); x++; } ) $('._4gt3b').scrollTop($('._4gt3b')[0].scrollHeight); console.log('loop'); }, 60000); |
commented Mar 12, 2018
this is script of insta followers |
commented Oct 7, 2018
Didn't worlk and video is not available in youtube |
commented Dec 16, 2018
Hello! This script does not work, can you tell me what the problem is? Thank you in advance! |
commented Mar 15, 2019
Hello check this one and let me know. |
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment