This repository has been archived by the owner on Aug 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathunfollnotfollback.php
65 lines (57 loc) · 1.88 KB
/
unfollnotfollback.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
include 'class_ig.php';
error_reporting(0);
clear();
echo "
Ξ TITLE : UNFOLLOW NOT FOLLOWBACK
Ξ FLPATH : tools/unfollnotfollback.php
Ξ CODEBY : Firdy [https://fb.com/6null9]
Ξ FIXBY : Andi Muh. Rizqi [ikiganteng]
Ξ UPDATE : Officialputuid [26/01/2020]
";
$u = getUsername();
$p = getPassword();
echo PHP_EOL;
$sleep = getComment('[?] Sleep in Seconds: ');
echo '•••••••••••••••••••••••••••••••••••••••••' . PHP_EOL . PHP_EOL;
$login = login($u, $p);
if ($login['status'] == 'success') {
echo color()["LG"].'[*] Login as '.$login['username'].' Success!' . PHP_EOL;
$data_login = array(
'username' => $login['username'],
'csrftoken' => $login['csrftoken'],
'sessionid' => $login['sessionid']
);
$data_target = findProfile($u, $data_login);
echo color()["LG"].'[#] Name: '.$data_target['fullname'].' | Followers: '.$data_target['followers'] .' | Following: '.$data_target['following'] . PHP_EOL;
if ($data_target['status'] == 'success') {
$cmt = 0;
for ($i=1; $i < $data_target['following']; $i++) {
$profile = getFollowing($u , $data_login, $i, 1);
foreach ($profile as $rs) {
$username = $rs->username;
$post = findProfile($username, $data_login);
if ($post['is_polbek'] == 'true') {
echo color()["LR"].'[+] '.$username.' | Udh Follback' .PHP_EOL;
}else{
echo color()["LR"].'[+] '.$username.' | Belom Follback ' ;
$unfollow = unfollow($username, $data_login);
if ($unfollow['status'] == 'success') {
echo color()["LG"].'(Unfollow '.$username.' Success)';
sleep($sleep);
echo PHP_EOL;
}else{
echo color()["LR"].'(Unfollow '.$username.' Failed)';
sleep($sleep);
echo PHP_EOL;
}
}
}
}
}else{
echo 'Error!';
echo PHP_EOL;
}
}else{
echo color()["LR"].'[*] Login as '.$login['username'].' Failed!' . PHP_EOL;
}