Posted by : DindaKyuut Jumat, 26 Januari 2018


Kali ini saya akan memposting Script terbaru bot auto reaction Facebook, Sebelumnya ada yang tau fungsinya untuk apa??Yaps, fitur Facebook ini mungkin bisa dikatakan fitur yang baru yang berfungsi untuk memberikan tanggapan terhadap sebuah status ataupun foto yang diunggah seseorang di Facebook, tanggapan tersebut antara lain Suka, Super, Haha, Wow, Sedih, dan Marah.

Seperti yang kita ketahui, tanggapan di Facebook sebelumnya hanyalah sebuah tombol Like atau Suka, namun pada fitur baru ini terdapat beberapa pilihan yaitu seperti yang saya sebutkan diatas tadi namun caranya sedikit berbeda dibandingkan sekedar memberi like atau suka pada status facebook.

Seperti apa caranya, simak baik baik step by stepnya

1.copy Script dibawah ini
<?php
/*

* BOT AUTO REACTION

* BOT AUTO TANGGAP STATUS
*WEBSITE: 3ingine-project.cf
* Copyright & Creator : Syahrul Ramadan | Facebook.com/Gbw06Juni
*** NOTE , Cukup edit bagian data login dan pilih type reaction sesuka hati kamuh, Masukan password dan email kamu. ***

****** EDIT SESUKA HATI KALIAN, ASALKAN JANGAN GANTI NAMA PEMBUAT ******

*Script By By Mjs Vouz
* Uploaded By Syahrul Ramadan

*** Pembaruan ***

* Fix Curl
* Type Reaction

*/

########## TYPE REACTION ##########
$koplinge=array(
/*
(+) Pilih type reaction
(+) true : untuk mengaktifkan.
(+) false : untuk menonektifkan
(+) JANGAN ( TRUE )  SEMUA ! PILIH SALAH SATU !
*/
      'suka' => false,
       'super' => true,
        'haha' => false,
         'wow' => false,
          'sedih' => false,
           'marah' => false,
//SEGERA//
'botLikeKomen' => 'Coming Soon!',

  );


$bot = new bot($wangur);

$bot-> kopling=$koplinge;

class bot{

private $wangur;
public $kopling;
function __construct($dataLog){
 //Data Login
  $this->pass = 'password kamu';  //  Isi dengan password facebook kalian
   $this->email = 'email kamu';  //  Isi dengan username atau email facebook kalian
    }


private function get_contents($url,$type=null,$fields=null){

   $opts = array(
            42 => false,
            19913 => 1,
            10002 => $url,
            52 => false,
            10018 => 'Opera/9.80 (Series 60; Opera Mini/6.5.27309/34.1445; U; en) Presto/2.8.119 Version/11.10',
           78 => 5,
           13 => 5,
           47 => false,
            );
   $ch=curl_init();
   if($type){
       if($type == 1){
              $opts[10082] = 'coker_log';
              }
       if($type == 3){
              $opts[42] = false;
         
             }
       $opts[10031] = 'coker_log';
    }
  if($fields){
      $opts[47] = false;
      $opts[10015] = $fields;
      }
   curl_setopt_array($ch,$opts);
   $result = curl_exec($ch);
   curl_close($ch);
   return $result;
  }


public function home(){

   $url = $this->getUrl('m','home.php');
   $getToken = $this->get_contents($url,3);
   $konten = strstr($getToken,'class="_3-8w">');
   $ft_id = explode('/reactions/picker/',$konten);
   $limit=count($ft_id);
 echo'<b>Type Reaction: '.$this->ubah($this->kopling,true).'</b><hr>';

for($i=0; $i<=$limit; $i++){

$id=$this->cut($ft_id[$i],'ft_id=','&');
 echo $id;
       if($id){
       if($this->getLog($id)){

        echo'<font color="green">[ Ok ]</font>';
          $this -> getReaction($id);
           }else{
       echo' <font color="red">Success..</font>';
  }
echo'<br>';
}
}

   }


private function saveFile($x,$y){

   $f = fopen($x,'w');
        fwrite($f,$y);
        fclose($f);
   }
private function getUrl($domain,$dir,$uri=null){
    if($uri){
         foreach($uri as $key =>$value){
             $parsing[] = $key . '=' . $value;
                }
             $parse = '?' . implode('&',$parsing);
                }
     return 'https://' . $domain . '.facebook.com/' . $dir . $parse;
       }

public function cut($content,$start,$end){

if($content && $start && $end) {
$r = explode($start, $content);
if (isset($r[1])){
$r = explode($end, $r[1]);
return $r[0];
}
return '';
}
}

public function getReaction($edo){

$gerr ='https://mobile.facebook.com/reactions/picker/?ft_id='.$edo;
    echo'<br>';
    $sukaa= $this->get_contents($gerr,3);
    $suka= $this->cut($sukaa,'tanggapan</h1>','<div id="static');
    $ha= explode('/ufi/reaction/',$suka);
    $liha= count($ha);
  // echo $suka;

for($hai=0; $hai<=$liha; $hai++){

  $getha= $this -> cut($ha[$hai],$this->ubah($this->kopling,false),'"');

    if($getha){

      $hajarm='https://mobile.facebook.com/ufi/reaction/?ft_ent_identifier='.$edo.'&amp;reaction_'.$this->ubah($this->kopling,false).''.$getha;
      $hajar= str_replace('&amp;','&',$hajarm);
//   echo $hajar;
      echo'<br>';
      echo $this->get_contents($hajar,3);

    }
}
}
public function ubah($rem,$info){
 if($rem[suka]=='true'){
 $tipe='type=1'; $anu='Suka';
  }else if($rem[super]=='true'){
   $tipe='type=2'; $anu='Super';
    }else if($rem[haha]=='true'){
     $tipe='type=0'; $anu='Haha';
      }else if($rem[wow]=='true'){
       $tipe='type=3'; $anu='Wow';
        }else if($rem[sedih]=='true'){
         $tipe='type=7'; $anu='Sedih';
          }else if($rem[marah]=='true'){
           $tipe='type=8'; $anu='Marah';
            }
         if($info=='true'){
        return $anu;
      }else{
    return $tipe;
  }
}

public function getLog($y){

   if(file_exists('log.txt')){
       $log=file_get_contents('log.txt');
       }else{
       $log=' ';
       }

  if(ereg($y,$log)){

       return false;
       }else{
if(strlen($log) > 5000){
   $n = strlen($log) - 5000;
   }else{
  $n= 0;
   }
       $this->saveFile('log.txt',substr($log,$n).' '.$y);
       return true;
      }
 }

public function login(){

  $login = array(
     'pass' => $this -> pass,
     'email' => $this -> email,
     'login'  => 'Login',
             );
  $this->get_contents($this->getUrl('m','login.php'),1,$login);
   }

}


if($bot->home()){

    echo $bot->home();
    }else{
    $bot->login();
    }

?>

2.save script yang diatas dengan nama reaction.php
3.Cara menggunakan bot reaction:
 Buka & Edit File reaction.php
- Edit pada bagian:
//Data Login
$this->pass = 'PASSWORD FACEBOOK KAMU';
$this->email = 'EMAIL FACEBOOK KAMU';
- Isi dengan Email/Username & Password Facebook kalian.
- Save
- Upload pada cPanel / Hostingan kalian

- Setting Cron Job selama 5 Menit
4.untuk memastikan bot atau reaction facebook work/atau berkerja dengan baik masuk ke profile facebook kalikan, lalu klik Log Aktivitas pada profile facebook kalian..

Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © X-CHEAT-VIP - Simple Theme - Powered by Blogger - Designed by Abdul ithansyah -