Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- date_default_timezone_set("Asia/Ho_Chi_Minh");
- error_reporting(0);
- session_start();
- $end="\033[0m";
- $whiteb="\033[1;37m";
- $ress = "\033[0;32m";
- $res = "\033[0;33m";
- $red = "\033[0;31m";
- $green = "\033[0;37m";
- $yellow = "\033[0;33m";
- $white = "\033[0;33m";
- $xnhac = "\033[1;96m";
- $den = "\033[1;90m";
- $do = "\033[1;91m";
- $luc = "\033[1;92m";
- $vang = "\033[1;93m";
- $xduong = "\033[1;94m";
- $hong = "\033[1;95m";
- $trang = "\033[1;97m";
- $nenden = "\033[40m";
- $xanhd = "\033[0;36m";
- $nendo = "\033[41m";
- $nenxanh = "\033[42m";
- $nenvang = "\033[43m";
- $nenblue = "\033[44m";
- $nenPurpe = "\033[45m";
- $nenCyan = "\033[46m";
- $nentrang = "\033[47m";
- $UGreen = "\033[4;32m";
- $BGreen = "\033[1;32m";
- $green="\033[1;32m";
- $wait = $green."Đợi";
- $xnhac = "\033[1;96m";
- $res="\033[0m";
- $red="\033[1;31m";
- $yellow="\033[1;93m";
- $lightblue="\033[1;35m";
- $bluelight="\033[1;34m";
- $blue="\033[1;36m";
- $purple="\e[35m";
- $end="\033[0m";
- $do="\033[1;91m";
- $luc="\033[1;92m";
- $vang="\033[1;93m";
- $xduong="\033[1;94m";
- $hong="\033[1;95m";
- $trang="\033[1;97m";
- $BBlack="\033[1;30m" ;
- $BRed="\033[1;31m" ;
- $BGreen="\033[1;32m" ;
- $BYellow="\033[1;33m" ;
- $BBlue="\033[1;34m" ;
- $BPurple="\033[1;35m" ;
- $BCyan="\033[1;36m" ;
- $BWhite="\033[1;37m" ;
- $Blue = "\033[1;96m";
- $res="\033[0m";
- $end="\033[0m";
- $red="\033[1;31m";
- $xanh="\033[1;32m";
- $cyan="\033[1;36m";
- $yellow="\033[1;33m";
- $turquoise="\033[1;34m";
- $maugi="\033[1;35m";
- $white= "\033[1;37m";
- $BLACK_BOLD = "\033[1;30m";
- $den = "\033[1;90m";
- $red="\033[1;31m";
- $Blue="\033[1;34m";
- $green="\033[1;32m";
- $greenb="\033[1;32m";
- $yellow="\033[1;33m";
- $yellowb="\033[1;33m";
- $syan="\033[1;36m";
- $blue="\033[1;34m";
- $blueb="\033[1;34m";
- $purple="\033[1;35m";
- $purpleb="\033[1;35m";
- $lightblue="\033[1;36m";
- $lightblue="\033[1;35m";
- $lightblueb="\033[1;36m";
- $banner =" \033[1;97m╭───────────────────────────────────╮
- \033[1;32m[\033[1;31m✿\033[1;32m] \033[1;36mFacebook:\033[1;37m ՙՙ ՙՙ ✓
- \033[1;32m[\033[1;31m✿\033[1;32m] \033[1;36mZalo: \033[1;37m 037.553.0461 ✓
- \033[1;32m[\033[1;31m✿\033[1;32m] \033[1;36mGmail: \033[1;37m vngosu7@gmail.com ✓ \033[1;97m ╰───────────────────────────────────╯ ";
- echo" \n";
- $input = array($d2="\033[1;36m",$tmd3="\033[1;37m",$tmd4="\033[1;37m",$tmd5="\033[1;31m",$tmd6="\033[1;31m",$tmd7="\033[1;32m",$tmd8="\033[1;32m",$tmd9="\033[1;33m",$tmd10="\033[1;33m",$tmd11="\033[1;34m",$tmd12="\033[1;34m",$tmd13="\033[1;35m",$tmd14="\033[1;35m",$tmd15="\033[1;36m",$tmd16="\033[1;36m");
- $rand_keys = array_rand($input, 10);
- $input = array($tmd1="\033[1;46m",$tmd2="\033[1;36m",$tmd3="\033[1;37m",$tmd4="\033[1;37m",$tmd5="\033[1;31m",$tmd6="\033[1;31m",$tmd7="\033[1;32m",$tmd8="\033[1;32m",$tmd9="\033[1;33m",$tmd10="\033[1;33m",$tmd11="\033[1;34m",$tmd12="\033[1;34m",$tmd13="\033[1;35m",$tmd14="\033[1;35m",$tmd15="\033[1;36m",$tmd16="\033[1;36m");
- $rand_keys = array_rand($input, 15);
- $end="\033[0m";
- $black="\033[1;30m";
- $blackb="\033[1;30m";
- $white="\033[1;37m";
- $whiteb="\033[1;37m";
- $red="\033[1;31m";
- $Blue="\033[1;31m";
- $green="\033[1;32m";
- $greenb="\033[1;32m";
- $yellow="\033[1;33m";
- $yellowb="\033[1;33m";
- $syan="\033[1;36m";
- $blue="\033[1;34m";
- $blueb="\033[1;34m";
- $purple="\033[1;35m";
- $purpleb="\033[1;35m";
- $lightblue="\033[1;36m";
- $lightblue="\033[1;35m";
- $lightblueb="\033[1;36m";
- $input = array($d2="\033[1;36m",$tmd3="\033[1;37m",$tmd4="\033[1;37m",$tmd5="\033[1;31m",$tmd6="\033[1;31m",$tmd7="\033[1;32m",$tmd8="\033[1;32m",$tmd9="\033[1;33m",$tmd10="\033[1;33m",$tmd11="\033[1;34m",$tmd12="\033[1;34m",$tmd13="\033[1;35m",$tmd14="\033[1;35m",$tmd15="\033[1;36m",$tmd16="\033[1;36m");
- $rand_keys = array_rand($input, 10);
- $input = array($tmd1="\033[1;46m",$tmd2="\033[1;36m",$tmd3="\033[1;37m",$tmd4="\033[1;37m",$tmd5="\033[1;31m",$tmd6="\033[1;31m",$tmd7="\033[1;32m",$tmd8="\033[1;32m",$tmd9="\033[1;33m",$tmd10="\033[1;33m",$tmd11="\033[1;34m",$tmd12="\033[1;34m",$tmd13="\033[1;35m",$tmd14="\033[1;35m",$tmd15="\033[1;36m",$tmd16="\033[1;36m");
- $rand_keys = array_rand($input, 15);
- $useragent ="Mozilla/5.0 (Linux; Android 11; Pixel 2 XL) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.185 Mobile Safari/537.36";
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- while(true){
- system('clear');
- echo $vang."\n";
- $t=
- $hong."\033[1; _ ___ __ ___________ _____ _____ _ __ ___________ ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $xduong."\n";
- $t=
- $trang."\033[1; | | | \ \ / / |_ _| ___ \_ _/ __ \| | / /| ___| ___ \ ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $xnhac."\n";
- $t=
- $trang."\033[1; | | | |\ V / | | | |_/ / | | | / \/| |/ / | |__ | |_/ / ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $hong."\n";
- $t=
- $trang."\033[1; | | | | \ / | | | / | | | | | \ | __|| / ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $do."\n";
- $t=
- $trang."\033[1; | |_| | | | | | | |\ \ _| |_| \__/\| |\ \| |___| |\ \ ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $luc."\n";
- $t=
- $trang."\033[1; \___/ \_/ \_/ \_| \_|\___/ \____/\_| \_/\____/\_| \_| ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $do."\n";
- $t="\033[1; \033[47m TOOLS \033[0m\n";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(20000);
- }
- echo $vang."=====================================================\n";
- echo $do." [".$luc."Bản Quyền".$do."] ";usleep(200000);echo $vang."Uy Tricker ";
- echo $do." [".$luc."ZaLo".$do."]";usleep(300000);
- echo $vang." 037.553.0461";
- echo "\n";
- echo " ".$do."[".$luc."Ví MoMo".$do."]";usleep(300000);echo $vang." 037.553.0461";
- echo "\n";
- echo $vang."=====================================================\n";
- echo $do."[".$luc."●".$do."] ".$trang."=> ".$xnhac."Điền Cookie Acc Cần Làm: $vang";
- $cookie=trim(fgets(STDIN));
- $access = cookie($cookie,$useragent);
- if (explode('\",\"useLocalFilePreview',explode('accessToken\":\"', $access)[1])[0]){
- $access_token=explode('\",\"useLocalFilePreview',explode('accessToken\":\"', $access)[1])[0];
- $idfb = json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'};
- break;
- }else{ exit($BRed." Cookie Sai\n");}
- }
- echo"\n";
- unset($so); unset($_SESSION['giaay']);unset($nhap);
- system('clear');
- echo $vang."\n";
- $t=
- $hong."\033[1; _ ___ __ ___________ _____ _____ _ __ ___________ ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $xduong."\n";
- $t=
- $trang."\033[1; | | | \ \ / / |_ _| ___ \_ _/ __ \| | / /| ___| ___ \ ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $xnhac."\n";
- $t=
- $trang."\033[1; | | | |\ V / | | | |_/ / | | | / \/| |/ / | |__ | |_/ / ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $hong."\n";
- $t=
- $trang."\033[1; | | | | \ / | | | / | | | | | \ | __|| / ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $do."\n";
- $t=
- $trang."\033[1; | |_| | | | | | | |\ \ _| |_| \__/\| |\ \| |___| |\ \ ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $luc."\n";
- $t=
- $trang."\033[1; \___/ \_/ \_/ \_| \_|\___/ \____/\_| \_/\____/\_| \_| ";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(2000);
- }
- echo $do."\n";
- $t="\033[1; \033[47m TOOLS \033[0m\n";
- for($i=11;$i<(strlen($t)+1);$i++){echo $t[$i];
- usleep(20000);
- }
- echo $vang."=====================================================\n";
- echo $do." [".$luc."Bản Quyền".$do."] ";usleep(200000);echo $vang."Uy Tricker ";
- echo $do." [".$luc."ZaLo".$do."]";usleep(300000);
- echo $vang." 037.553.0461";
- echo "\n";
- echo " ".$do."[".$luc."Ví MoMo".$do."]";usleep(300000);echo $vang." 037.553.0461";
- echo "\n";
- echo $vang."=====================================================\n";
- echo "\e[1;95m┌─[\e[1;37m\e[1;42mNhập Số Bạn Bè Cần Thêm\e[0m\e[1;95m]
- └──╼ \e[1;39mU\e[1;36mT\e[1;91mK : $vang ";
- $cangui=trim(fgets(STDIN));
- echo "\e[1;95m┌─[\e[1;37m\e[1;42mNhập Time Delay\e[0m\e[1;95m]
- └──╼ \e[1;39mU\e[1;36mT\e[1;91mK : $vang ";
- $_SESSION['giaay']=trim(fgets(STDIN));
- echo $vang."=====================================================\n";
- while($ii < $cangui){$ii++;$so++;
- $n = thembanbe($cookie,$url,$useragent);
- echo $BYellow."[".$do.$so.$BYellow."]$xnhac Bạn Đã Gửi Lời Kết Bạn Cho ID: ".$BLACK_BOLD.$n."\n";
- if ($_SESSION['giaay'] < 1) {
- } elseif ( $_SESSION['giaay'] > 1) {
- for($i = $_SESSION['giaay'];$i>-1;$i--) {
- echo "\r\033[1;91m•Đợi Uy Xíu Nhé (+_+)\033[0;33m 👉 \033[0;37m Uy T \033[1;91m |\033[1;93m $x\033[1;91m | ";
- usleep(150000);
- echo "\r\033[1;91m•Đợi Uy Xíu Nhé (+_+)\033[0;33m 👉 \033[0;37m Uy Tr \033[0;31m |\033[0;33m $x\033[0;31m | ";
- usleep(150000);
- echo "\r\033[1;91m•Đợi Uy Xíu Nhé (+_+)\033[0;33m 👉 \033[0;37m Uy Tri \033[0;31m |\033[0;33m $x\033[0;31m | ";
- usleep(150000);
- echo "\r\033[1;91m•Đợi Uy Xíu Nhé (+_+)\033[0;33m 👉 \033[0;37m Uy Tric .\033[0;31m |\033[0;33m $x\033[0;31m | ";
- usleep(150000);
- echo "\r\033[1;91m•Đợi Uy Xíu Nhé (+_+)\033[0;33m 👉 \033[0;37m Uy Trick... \033[0;31m |\033[0;33m $x\033[0;31m | ";
- usleep(150000);
- echo "\r\033[1;91m•Đợi Uy Xíu Nhé (+_+)\033[0;33m 👉 \033[0;37m Uy Tricke.... \033[0;31m |\033[0;33m $x\033[0;31m | ";
- usleep(150000);
- echo "\r\033[1;91m•Đợi Uy Xíu Nhé (+_+)\033[0;33m 👉\033[0;37m Uy Tricker.....\033[0;31m |\033[0;33m $x\033[0;31m | ";
- usleep(100000);
- echo "\r \r";}
- }
- }
- function huyfollow($cookie,$id,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/'.$id);
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
- curl_setopt($ch, CURLOPT_ENCODING, '');
- curl_setopt($ch, CURLOPT_COOKIE, $cookie);
- curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt($ch, CURLOPT_TIMEOUT, 60);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
- $n = curl_exec($ch);
- $lin = explode('">Bỏ theo dõi',explode('/a/subscriptions/remove?', $n)[1])[0];
- $link = str_replace('&', '&', $lin);
- curl_setopt($ch, CURLOPT_URL, "https://mbasic.facebook.com/a/subscriptions/remove?".$link);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $n = curl_exec($ch);
- curl_close($ch);
- return explode('</title><meta',explode('head><title>',$n)[1])[0];
- }
- function getidunfl($cookie,$idfb,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/timeline/app_collection/?'.http_build_query(array( 'collection_token'=> $idfb.':2356318349:33', '_rdr'=> '')));
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
- curl_setopt($ch, CURLOPT_ENCODING, '');
- curl_setopt($ch, CURLOPT_COOKIE, $cookie);
- curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt($ch, CURLOPT_TIMEOUT, 60);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
- $n = curl_exec($ch);
- $lin = explode('collection',explode('/timeline/app_collection/more/?collection_token', $n)[1])[0];
- $link = str_replace('&','&',$lin);
- curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/timeline/app_collection/more/?collection_token'.$link.'collection');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $m = curl_exec($ch);
- curl_close($ch);
- $liss = [];
- $n = explode('\">\u003Cspan',explode('href=\"\/',$m)[1])[0];
- if ($n == ''){$bb = '1'; $liss = '1';}else{$bb = '2';}
- while($bb == '2'){$i++;
- $uid = explode('\">\u003Cspan',explode('href=\"\/',$m)[($i)])[0];
- if (strlen($uid) < 100){
- array_push($liss, $uid);}
- if ($uid == ''){break;}
- }
- return $liss;
- }
- function bolikepage($cookie,$id,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/'.$id);
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
- curl_setopt($ch, CURLOPT_ENCODING, '');
- curl_setopt($ch, CURLOPT_COOKIE, $cookie);
- curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt($ch, CURLOPT_TIMEOUT, 60);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
- $n = curl_exec($ch);
- $lin = explode('" class="',explode('/a/profile.php?unfan', $n)[1])[0];
- $link = str_replace('&', '&', $lin);
- curl_setopt($ch, CURLOPT_URL, "https://mbasic.facebook.com/a/profile.php?unfan".$link);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $n = curl_exec($ch);
- curl_close($ch);
- return explode('</title><meta',explode('head><title>',$n)[1])[0];
- }
- function xacnhanbanbe($cookie,$id,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/'.$id);
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
- curl_setopt($ch, CURLOPT_ENCODING, '');
- curl_setopt($ch, CURLOPT_COOKIE, $cookie);
- curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt($ch, CURLOPT_TIMEOUT, 60);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
- $n = curl_exec($ch);
- $lin = explode('" class="',explode('/a/mobile/friends/profile_add_friend.php?', $n)[1])[0];
- $link = str_replace('&', '&', $lin);
- curl_setopt($ch, CURLOPT_URL, "https://mbasic.facebook.com/a/mobile/friends/profile_add_friend.php?".$link);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $n = curl_exec($ch);
- curl_close($ch);
- return explode('</title><meta',explode('head><title>',$n)[1])[0];
- }
- function xemlikepage($cookie,$access_token,$useragent){
- $ch=curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/me/likes?access_token='.$access_token.'&limit=5000&fields=name,id');
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
- curl_setopt($ch, CURLOPT_ENCODING, '');
- curl_setopt($ch, CURLOPT_COOKIE, $cookie);
- curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt($ch, CURLOPT_TIMEOUT, 60);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
- $access = curl_exec($ch);
- curl_close($ch);
- return json_decode($access);
- }
- function addbanbe($cookie,$access_token,$useragent){
- $ch=curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/me/friendrequests?access_token='.$access_token.'&limit=5000&fields=from.name');
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
- curl_setopt($ch, CURLOPT_ENCODING, '');
- curl_setopt($ch, CURLOPT_COOKIE, $cookie);
- curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt($ch, CURLOPT_TIMEOUT, 60);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
- $access = curl_exec($ch);
- curl_close($ch);
- return json_decode($access);
- }
- function getbaiviet($cookie,$access_token,$useragent,$idfb){
- $ch=curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$idfb.'/posts?limit=1000&fields=id,name&access_token='.$access_token);
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
- curl_setopt($ch, CURLOPT_ENCODING, '');
- curl_setopt($ch, CURLOPT_COOKIE, $cookie);
- curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt($ch, CURLOPT_TIMEOUT, 60);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
- $access = curl_exec($ch);
- curl_close($ch);
- return json_decode($access);
- }
- function demlike($cookie,$access_token,$idpost,$useragent){
- $ch=curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/v1.0/'.$idpost.'/likes?access_token='.$access_token.'&pretty=1&limit=5000');
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
- curl_setopt($ch, CURLOPT_ENCODING, '');
- curl_setopt($ch, CURLOPT_COOKIE, $cookie);
- curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt($ch, CURLOPT_TIMEOUT, 60);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
- $access = curl_exec($ch);
- curl_close($ch);
- return json_decode($access);
- }
- function getbanbe($access_token,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL,'https://graph.facebook.com/me/friends/?access_token='.$access_token);
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_TIMEOUT,60);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,60);
- curl_setopt($ch, CURLOPT_USERAGENT,$useragent);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,TRUE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,TRUE);
- curl_setopt($ch, CURLOPT_HTTPHEADER,$head);
- curl_setopt($ch, CURLOPT_ENCODING,'');
- return json_decode(curl_exec($ch));
- curl_close($ch);
- }
- function xoabanbe($cookie,$id,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL,'https://mbasic.facebook.com/profile.php?id='.$id);
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_TIMEOUT,60);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,60);
- curl_setopt($ch, CURLOPT_USERAGENT,$useragent);
- curl_setopt($ch, CURLOPT_COOKIE,$cookie);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,TRUE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,TRUE);
- curl_setopt($ch, CURLOPT_HTTPHEADER,$head);
- curl_setopt($ch, CURLOPT_ENCODING,'');
- $list = curl_exec($ch);
- $data1 = explode('" autocomplete=',explode('name="fb_dtsg" value="',$list)[1])[0];
- $data2= explode('" autocomplete=',explode('name="jazoest" value="',$list)[1])[0];
- $data = http_build_query(array('fb_dtsg'=>$data1,'jazoest'=>$data2,'friend_id'=>$id ,'unref'=>'profile_gear','confirm'=>'Xác nhận'));
- $head[] = 'content-length: '.strlen($data);
- $head[] = 'refer: https://mbasic.facebook.com/removefriend.php?friend_id='.$id.'&unref=profile_gear&refid=17';
- curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/a/removefriend.php');
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
- $h = curl_exec($ch);
- curl_close($ch);
- }
- function cookie($cookie,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'https://m.facebook.com/composer/ocelot/async_loader/?publisher=feed');
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_USERAGENT,$useragent );
- curl_setopt($ch, CURLOPT_ENCODING, '');
- curl_setopt($ch, CURLOPT_COOKIE, $cookie);
- curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt($ch, CURLOPT_TIMEOUT, 60);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
- curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
- $access = curl_exec($ch);
- curl_close($ch);
- return $access;
- }
- function gethome($cookie,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL,'https://mbasic.facebook.com/home.php');
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_TIMEOUT,60);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,60);
- curl_setopt($ch, CURLOPT_USERAGENT,$useragent);
- curl_setopt($ch, CURLOPT_COOKIE,$cookie);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,TRUE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,TRUE);
- curl_setopt($ch, CURLOPT_HTTPHEADER,$head);
- curl_setopt($ch, CURLOPT_ENCODING,'');
- return curl_exec($ch);
- curl_close($ch);
- }
- function camxuctuongtac($cookie,$link,$useragent,$type){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $link);
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
- curl_setopt($ch, CURLOPT_ENCODING, '');
- curl_setopt($ch, CURLOPT_COOKIE, $cookie);
- curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt($ch, CURLOPT_TIMEOUT, 60);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
- $m = curl_exec($ch);
- if ($type == 'LIKE'){ $link2 = explode('" style="display:block"',explode('&reaction_type=1',$m)[1])[0];
- $link4 = '&reaction_type=1'.$link2;
- }
- if ($type == 'THUONG'){ $link2 = explode('" style="display:block"',explode('&reaction_type=16',$m)[1])[0];
- $link4 = '&reaction_type=16'.$link2;
- }
- if ($type == 'LOVE'){ $link2 = explode('" style="display:block"',explode('&reaction_type=2',$m)[1])[0];
- $link4 = '&reaction_type=2'.$link2;
- }
- if ($type == 'WOW' ){$link2 = explode('" style="display:block"',explode('&reaction_type=3',$m)[1])[0];
- $link4 = '&reaction_type=3'.$link2;
- }
- if ($type == 'HAHA'){$link2 = explode('" style="display:block"',explode('&reaction_type=4',$m)[1])[0];
- $link4 = '&reaction_type=4'.$link2;
- }
- if ($type == 'SAD'){$link2 = explode('" style="display:block"',explode('&reaction_type=7',$m)[1])[0];
- $link4 = '&reaction_type=7'.$link2;
- }
- if ($type == ''){$link2= explode('" style="display:block"',explode('&reaction_type=8')[1])[0];
- $link4 = '&reaction_type=8'.$link2;
- }
- $link3 = explode('&reaction_type=',explode('<a href="/ufi/reaction/?',$m)[1])[0];
- $link5 = str_replace('&', '&', $link3.$link4);
- curl_setopt($ch, CURLOPT_URL, "https://mbasic.facebook.com/ufi/reaction/?".$link5);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $n = curl_exec($ch);
- curl_close($ch);
- return
- explode('</title><meta',explode('head><title>',$n)[1])[0];}
- function gettiephome($cookie,$linktiep,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL,$linktiep);
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_TIMEOUT,60);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,60);
- curl_setopt($ch, CURLOPT_USERAGENT,$useragent);
- curl_setopt($ch, CURLOPT_COOKIE,$cookie);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,TRUE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,TRUE);
- curl_setopt($ch, CURLOPT_HTTPHEADER,$head);
- curl_setopt($ch, CURLOPT_ENCODING,'');
- return curl_exec($ch);
- curl_close($ch);
- }
- function thembanbe($cookie,$url,$useragent){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL,'https://mbasic.facebook.com/friends/center/mbasic/?fb_ref=tn&sr=1&ref_component=mbasic_home_header&ref_page=MFriendsCenterMBasicController');
- $head[] = "Connection: keep-alive";
- $head[] = "Keep-Alive: 300";
- $head[] = "authority: m.facebook.com";
- $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
- $head[] = "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5";
- $head[] = "cache-control: max-age=0";
- $head[] = "upgrade-insecure-requests: 1";
- $head[] = "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9";
- $head[] = "sec-fetch-site: none";
- $head[] = "sec-fetch-mode: navigate";
- $head[] = "sec-fetch-user: ?1";
- $head[] = "sec-fetch-dest: document";
- curl_setopt($ch, CURLOPT_TIMEOUT,60);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
- curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,60);
- curl_setopt($ch, CURLOPT_USERAGENT,$useragent);
- curl_setopt($ch, CURLOPT_COOKIE,$cookie);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,TRUE);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,TRUE);
- curl_setopt($ch, CURLOPT_HTTPHEADER,$head);
- curl_setopt($ch, CURLOPT_ENCODING,'');
- $list = curl_exec($ch);
- $link = explode('" class="',explode('/a/mobile/friends/add_friend.php?',$list)[1])[0];
- $link2 = 'https://mbasic.facebook.com/a/mobile/friends/add_friend.php?'.str_replace('&','&',$link);
- curl_setopt($ch, CURLOPT_URL, $link2);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_exec($ch);
- curl_close($ch);
- return explode('&hf',explode('id=',$link2)[1])[0];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement