Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- set_time_limit(0);
- ignore_user_abort(1);
- require_once('require.php');
- /* safe edit */
- $target = 'ngakakkocak';
- $sleep = 2;
- $jumlah = 4;
- $unfollow_jika_gagal_mengomentari = true;
- $_teks = array(
- 'nice.follback ya, dan cek ig kami menjual followers murah',
- 'nice photo bro pls follback, dan cek ig kami menjual followers murah',
- 'follback kak, dan cek ig kami menjual followers murah',
- 'keren. follback ya, dan cek ig kami menjual followers murah',
- 'follback bro, dan cek ig kami menjual followers murah ',
- 'janganlupa follback:D , dan cek ig kami menjual followers murah ',
- 'Mantab ! follback ya, dan cek ig kami menjual followers murah ',
- 'kak,follback, dan cek ig kami menjual followers murah ',
- 'kak jangan lupa follback, dan cek ig kami menjual followers murah ',
- 'kak follback ya, dan cek ig kami menjual followers murah ',
- 'Bagus , follback kak, dan cek ig kami menjual followers murah ',
- 'Bagus, follback, dan cek ig kami menjual followers murah ',
- 'Bagus, follback ya, dan cek ig kami menjual followers murah ',
- 'Bagus, follback bro, dan cek ig kami menjual followers murah ',
- 'Bagus, follback ya, dan cek ig kami menjual followers murah ',
- 'Bagus, follback ya kk, dan cek ig kami menjual followers murah ',
- 'Nice, follback ya, dan cek ig kami menjual followers murah ',
- 'Nice, follback ya kak, dan cek ig kami menjual followers murah ',
- 'Nice, follback ya bro, dan cek ig kami menjual followers murah ',
- 'Nice, follback ya, dan cek ig kami menjual followers murah ',
- 'Nice, follback kak, dan cek ig kami menjual followers murah ',
- 'Nice, follback ya, dan cek ig kami menjual followers murah ',
- 'Nice, follback :D, dan cek ig kami menjual followers murah ',
- 'Nice, follback ya bro , dan cek ig kami menjual followers murah');
- /* edit at your own risks */
- if(!file_exists('cookie.qny')||!file_exists('other.qny')) die('Generate token dulu beb');
- $info = explode('|', file_get_contents('other.qny'));
- $_useragent = $info[0];
- $get = sniff::permintaan($_useragent, 'https://www.instagram.com/'.$target.'/', 0, 0);
- if(!preg_match('/200 OK/',$get[0])) die('Target ga ada');
- preg_match('#", "id": "(.*?)", "biography"#',$get[1],$id);
- $cookie = file_get_contents('cookie.qny');
- $feed = sniff::permintaan($_useragent, 'feed/user/'.$id[1].'/', 0, 1, $cookie);
- $feed = json_decode($feed[1]);
- if(count($feed->items)<1) die('Timeline target masih kosong');
- $listusers = sniff::permintaan($_useragent, 'media/'.$feed->items[0]->id.'/likers/', 0, 1, $cookie);
- $listuser = json_decode($listusers[1]);
- if(count($listuser->users)<1) die($listusers[1]);
- if($jumlah>count($listuser->users)) $jumlah = count($listuser->users);
- for($i=0;$i<$jumlah;$i++):
- $urut = array_rand($listuser->users);
- $relationship = sniff::permintaan($_useragent, 'friendships/show/'.$listuser->users[$urut]->pk.'/', 0, 1, $cookie);
- if(json_decode($relationship[1])->followed_by<>true):
- $follow = sniff::permintaan($_useragent, 'friendships/create/'.$listuser->users[$urut]->pk.'/', sniff::hook('{"user_id":"'.$listuser->users[$urut]->pk.'"}'), 1, $cookie);
- if(json_decode($follow[1])->friendship_status->following) {
- print '<font color="gray">Success Follow</font> @'.$listuser->users[$urut]->username.'<br>';
- $f = sniff::permintaan($_useragent, 'feed/user/'.$listuser->users[$urut]->pk.'/', 0, 1, $cookie);
- $f = json_decode($f[1]);
- if(count($f->items)<1) print('Timeline @'.$listuser->users[$urut]->username.' masih kosong jadi gue unfollow dah :P'); else{
- $c = sniff::permintaan($_useragent, 'media/'.$f->items[0]->id.'/comment/', sniff::hook('{"comment_text":"'.$_teks[array_rand($_teks)].'"}'), 1, $cookie);
- sniff::permintaan($_useragent, 'media/'.$feed->items[0]->id.'/like/', sniff::hook('{"media_id":"'.$feed->items[0]->id.'"}'), 1, $cookie);
- $c = json_decode($c[1]);
- if($c->status<>ok){
- print '<font color="red">Gagal Mengomentari</font> @'.$f->items[0]->id.' :: '.$c->message.'<br>';
- if($unfollow_jika_gagal_mengomentari)
- sniff::permintaan($_useragent, 'friendships/destroy/'.$listuser->users[$urut]->pk.'/', sniff::hook('{"user_id":"'.$listuser->users[$urut]->pk.'"}'), 1, $cookie);
- }else
- print '<font color="green">Sukses Mengomentari</font> @'.$f->items[0]->id.' :: '.$c->comment->text.'<br>';
- }
- }else
- print '<font color="gray">Gagal Follow</font> @'.$follow[1].'<br>';
- sleep($sleep);
- endif;
- endfor;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement