Unfollow Features

Module which handles the follow features like unfollowing and following

app.unfollow.cancel_pending_requests(browser, account, amount)

Cancel every pending follow request

Args:
browser:web driver
account:our account
amount:amount of profiles to cancel pending requests

Warning

we can do the same action using the setup window

app.unfollow.follow_given_user(account_id, browser, acc_to_follow, follow_restrict, blacklist, logger)

Follows a given user

Args:
account_id:Instagram Account ID
browser:web driver
acc_to_follow:account to follow
follow_restrict:
 ?
blacklist:blacklist setup
logger:library to log actions
Returns:
True / False
app.unfollow.follow_given_user_followers(account_id, browser, profile, amount, dont_include, username, follow_restrict, random, blacklist, logger)

Goes to competitor profile, load followers list and follow the profiles

Args:
account_id:Instagram Account ID
browser:web driver
profile:competitor profile
amount:amount of profile to be followed
dont_include:profiles to not follow
username:?
follow_restrict:
 ?
random:randomize the following process
blacklist:blacklist setup
logger:library to log actions

Deprecated since version 0.0: dont_include should be renamed to dont_touch

Returns:
A list of followed profiles
app.unfollow.follow_given_user_following(account_id, browser, user_name, amount, dont_include, login, follow_restrict, random, delay, blacklist, logger)

I dont like this feature and I refuse to doc it :P

app.unfollow.follow_through_dialog(account_id, browser, profile, amount, dont_touch, username, follow_restrict, allfollowing, randomize, blacklist, logger, callbacks=[])

Follow profiles from dialog

Args:
account_id:Instagram Account ID
browser:web driver
amount:amount of profiles to be followed
dont_touch:profiles to not follow
username:our username
follow_restrict:
 ?
all_following:?
randomize:follow profiles randomly
blacklist:blacklist setup
logger:library to log actions
callbacks:?
Returns:
All followed profiles
app.unfollow.follow_user(account_id, browser, follow_restrict, login, user_name, blacklist, logger)

Follows the user of the currently open image

Args:
account_id:Instagram Account Id
browser:web driver
follow_restrict:
 ?
login:?
user_name:?
blacklist:blacklist setup
logger:library to log actions
app.unfollow.get_given_user_followers(browser, user_name, amount, dont_include, login, follow_restrict, randomize, logger)

Retrieve a competitors profile followers

Args:
browser:web driver
user_name:competitor?
amount:amount of profiles to load
dont_include:profiles to not follow
login:?
follow_restrict:
 ?
randomize:randomize the following process
logger:library to log actions
Returns:
A list of profiles from the competitors profile
app.unfollow.get_given_user_following(browser, user_name, amount, dont_include, login, follow_restrict, randomize, logger)

Return competitors followings

Note

is it correct ?

app.unfollow.unfollow(browser, username, amount, dont_touch, logger)

Unfollows the given amount of users

Args:
browser:web driver
username:our username
amount:amount of profiles to unfollow
dont_touch:profiles to not unfollow
logger:library to log actions
Returns:
Amount of unfollowed profiles
app.unfollow.unfollow_profile_from_campaign(count, browser, logger, campaign, profile)

Unfollow profile from a blacklist campaign and mark is as unfollowed from the blacklist campaign

Args:
count:current unfollow index
browser:web driver
logger:library to log actions
campaign:blacklist campaign name
profile:profile to unfollow
app.unfollow.unfollow_user(browser, logger)

Unfollows the user of the currently open image

Args:
browser:web driver
logger:library to log actions
Returns:
True / False