Selasa, 28 April 2015

Script Auto Update Status Facebook Terbaru

Script Auto Update Status Facebook Terbaru

1. Buat File status.php Dengan Memasukan Script Ini
<?php
$access_token = file_get_contents("my_token.txt");
/*
********************************************************
****|        BOT AUTO UPDATE STATUS KOCENG         |****
********************************************************
*/
$url = "https://graph.facebook.com/me/feed?method=POST";
function randomline( $filename )
{
    $lines = file( $filename );
    return $lines[array_rand( $lines )];
}
$status = " ".randomline('status.txt')." ";
$ch = curl_init();
$attachment =  array( 'access_token' => $access_token, 'message' => $status,);
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $attachment);
$result= curl_exec($ch);
curl_close ($ch);
if ($result)
{
echo " SUCCESS ";
}
?>
2. Lalu Buat File my_token.txt Isi Token, Cara Mengambil Token Lihat Di Cara Mendapatkan Token Facebook Permanent
3. Lalu Buat File Lagi Yang Di Beri Nama status.txt Lalu Tulis Status Kalian
Script Auto Reply Inbox Facebook

Script Auto Reply Inbox Facebook

1. Masukan Script Ini Di Notepad Beri Nama File Itu BotPm.php 
<?php
$access_token= file_get_contents("token.txt");
/*
********************************************************
****|          BOT INBOX BY KOCENG            |****
********************************************************
*/
$me=json_decode(auto('https://graph.facebook.com/me?access_token='.$access_token),true);
$in=json_decode(auto('https://graph.facebook.com/me/inbox?access_token='.$access_token.'&fields=id,to,unread,unseen'),true);
for($i=1;$i<=count($in[data]);$i++){
   if($in[data][$i-1][to][data][0][id] == $me[id]){
       $from=$in[data][$i-1][to][data][1];
       }else{
       $from=$in[data][$i-1][to][data][0];
       }
   echo $in[data][$i-1][id].'=>'.$from[name];
   if(($in[data][$i-1][unseen] == '1' ) && ($in[data][$i-1][unread] == '1')){
         $xnam = explode(' ',$from[name]);
         $nama = $xnam[0];
         $arr_mess = array(
            ' Maaf bro '.$nama.' ,bossku si '.$me[name].' maho lg offline ',
            ' Ada apa ya '.$nama.' ? maaf saya cuma Robot Inbox ditugaskan sama '.$me[name].' untuk bales Inbox :v :p ',
            'aduhh '.$nama.' ,bossku si '.$name.' lg Off ni :v , di tunggu onLenya yakz :)',
            ':) duh sayang sekali '.$nama.'... saya cuma bot :v gak ngerti apa apa :)',
            );
         $message = $arr_mess[rand(0,count($arr_mess)-1)];
         auto('https://graph.facebook.com/'.$from[id].'/inbox?access_token='.$access_token.'&message='.urlencode($message).'&method=post&subject=+');
         echo'bales => '.$message.'<br/>';
         }
    echo'<hr/>';
   }
}
function auto($url){
   $ch=curl_init();
   curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
   curl_setopt($ch,CURLOPT_URL,$url);
   $cx=curl_exec($ch);
  curl_close($ch);
  return($cx);
  }
?>
 2. Buat Lagi Di Notepad Dengan Nama token.txt Untuk Yang Belum Tau Cara Mendapatkan Token Bisa Baca Di Cara Mendapatkan Token Facebook Permanent
3. Lalu Upload Di Cpanel dan Cron Job
Script Bot Like Beranda dan Like Komentar Terbaru

Script Bot Like Beranda dan Like Komentar Terbaru

<?php
function auto($url){
$data = curl_init();
curl_setopt($data, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($data, CURLOPT_URL, $url);
$hasil = curl_exec($data);
curl_close($data);
return $hasil;
}
$access_token= "TOKENKAMU";
if(file_exists('jembutmu')){ $log=json_encode(file('jembutmu')); }else{ $log=''; }
$stat=json_decode(auto('https://graph.beta.facebook.com/me/home?fields=id&limit=1&access_token='.$access_token),true);
for($i=1;$i<=count($stat[data]);$i++){
if(!ereg($stat[data][$i-1][id],$log)){
$x=$stat[data][$i-1][id]."\n";
$y=fopen('jembutmu','a');
fwrite($y,$x);
fclose($y);
auto('https://graph.beta.facebook.com/'.$stat[data][$i-1][id].'/likes?method=post&access_token='.$access_token);
echo '<span style="color:#0E0101">'.$stat[data][$i-1][id].'</span> <span style="color:green">[SUCCESS]</span><hr/>';
}
else
{
  if(file_exists('jembutku')){ $log=json_encode(file('jembutku')); }else{ $log=''; }
  $jembut=json_decode(auto('https://graph.beta.facebook.com/'.$stat[data][$i-1][id].'/comments?fields=id&access_token='.$access_token),true);
  for($e=1;$e<=count($jembut[data]);$e++)
  {
  if(!ereg($jembut[data][$e-1][id],$log)){
  $x=$jembut[data][$e-1][id]."\n";
  $y=fopen('jembutku','a');
  fwrite($y,$x);
  fclose($y);
  auto('https://graph.beta.facebook.com/'.$jembut[data][$e-1][id].'/likes?method=post&access_token='.$access_token);
  echo '<span style="color:#0E0101">Komen id ke > '.$e.' | like sukses</span></br>';
  }
  else
  {
 echo('Semua jembut udah dijilat');
  }
  }
}
}
?>
Script Bot Like Only Facebook Beranda Terbaru Versi Google Script

Script Bot Like Only Facebook Beranda Terbaru Versi Google Script

function run_like(){

var run = casper_like
("Token-Facebook");}

function casper_like(token){
  var t = new Date();
  t = t.getTime();
  t = t+"";
  t = t.substring(0,6);

  var fql = "select type,app_id,comments,post_id,actor_id,target_id,message,created_time from stream";

  fql = fql+" where strpos(created_time,"+t+") >=0 AND source_id in ";

  fql = fql+"(select uid2 from friend where uid1=me())";

  fql = encodeURIComponent(fql);
  fql = "https://api.facebook.com/method/fql.query?query="+fql+"&limit=50&format=json&access_token=";
  if(token&&token!=""){
    var me = get_cr_url("https://graph.beta.facebook.com/me?access_token="+token);
    if(me&&me.id){
      fql = get_cr_url(fql+token);
      if(fql&&fql.length!=0){
        var hit = 0;
        for(x in fql){
          if(fql[x].type==46){

            var cek_daftar = "https://graph.beta.facebook.com/"+fql[x].post_id+"/likes?limit=50&access_token=";
            cek_daftar = get_cr_url(cek_daftar+token);
            var can_cr = 1;
            if(cek_daftar&&cek_daftar.data&&cek_daftar.data.length!=0){
              for(y in cek_daftar.data){
                if(cek_daftar.data[y].id==me.id){
                  can_cr = 0;
                  break;
                }
              }
            }
            if(can_cr==1){
              hit = hit+1;

              var jempol = "https://graph.beta.facebook.com/"+fql[x].post_id+"/likes?method=post&access_token=";
              jempol = get_cr_url(jempol+token);
            }
          }
        }
      }
    }
  }
}

function get_cr_url(almt){
  var url_cr  = UrlFetchApp.fetch(almt);
  var json_cr = Utilities.jsonParse(url_cr.getContentText());
  return json_cr;
}
Script Bot Like Only Facebook Beranda Versi PHP Script

Script Bot Like Only Facebook Beranda Versi PHP Script

<?php
function auto($url){
$data = curl_init();
curl_setopt($data, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($data, CURLOPT_URL, $url);
$hasil = curl_exec($data);
curl_close($data);
return $hasil;
}
$access_token= "ACCESS TOKEN KAMU";
if(file_exists('C3')){ $log=json_encode(file('KocengC3')); }else{ $log=''; }
$stat=json_decode(auto('https://graph.beta.facebook.com/me/home?fields=id,from&limit=15&access_token='.$access_token),true);
for($i=1;$i<=count($stat[data]);$i++){
if(!ereg($stat[data][$i-1][id],$log)){
$x=$stat[data][$i-1][id]."\n";
$y=fopen('KocengC3','a');
fwrite($y,$x);
fclose($y);
auto('https://graph.beta.facebook.com/'.$stat[data][$i-1][id].'/likes?method=post&access_token='.$access_token);
echo '<span style="color:#0E0101">'.$stat[data][$i-1][from][name].'</span> <span style="color:green">[SUCCESS]</span><hr/>';
}
}
?>
Script Bot Like Only Facebook Terbaru

Script Bot Like Only Facebook Terbaru

<?php
function auto($url){
$data = curl_init();
curl_setopt($data, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($data, CURLOPT_URL, $url);
$hasil = curl_exec($data);
curl_close($data);
return $hasil;
}
$access_token= file_get_contents("token.txt");
/*
********************************************************
****|          BOT LIKE GRUP BY KOCENG            |****
********************************************************
*/
if(file_exists('log.txt')){ $log=json_encode(file('log.txt')); }else{ $log=''; }
$idgrup = "TARGET ID GROUP";
$ceng= array(''.$idgrup.'');
$chibi=count($ceng) - 1;
$maho=rand(0,$chibi);
$grup = $ceng[$maho];
$stat=json_decode(auto('https://graph.beta.facebook.com/'.$grup.'/feed?fields=id,message,from,comments,type&access_token='.$access_token.'&offset=0&limit=50'),true);
for($i=1;$i<=count($stat[data]);$i++){
if(!ereg($stat[data][$i-1][id],$log)){
$x=$stat[data][$i-1][id]."n";
$y=fopen('log.txt','a');
fwrite($y,$x);
fclose($y);
auto('https://graph.beta.facebook.com/'.$stat[data][$i-1][id].'/likes?method=post&access_token='.$access_token);
echo '<span style="color:#3b5998">'.$stat[data][$i-1][from][name].'</span> <span style="color:red">[Success]</span><hr/>';
}
else
{
  if(file_exists('wew')){ $log=json_encode(file('wew')); }else{ $log=''; }
  $wew=json_decode(auto('https://graph.beta.facebook.com/'.$stat[data][$i-1][id].'/comments?fields=id&access_token='.$access_token),true);
  for($e=1;$e<=count($wew[data]);$e++)
  {
  if(!ereg($wew[data][$e-1][id],$log)){
  $x=$wew[data][$e-1][id]."\n";
  $y=fopen('wew','a');
  fwrite($y,$x);
  fclose($y);
  auto('https://graph.beta.facebook.com/'.$wew[data][$e-1][id].'/likes?method=post&access_token='.$access_token);
  echo '<span style="color:#0E0101">Komen id ke > '.$e.' | like sukses</span></br>';
  }
  else
  {
 echo('Komentar Sukses Di Like');
  }
  }
}
}
?
Script Auto Refresh Token Facebook Terbaru

Script Auto Refresh Token Facebook Terbaru

1. Buat file refresh.php dengan memasukan script berikut ini:
<?php
$user="Username_atau_Email_FB"; //isi username/email fb kalian
$pass="Z2VudG9vbGludXg="; //isi password fb kalian yg dah di encode ama base64

$data = "email=".$user."&pass=".base64_decode($pass)."&login=Masuk";
$asu = curl("https://m.facebook.com/login.php", $data);
$asu = curl("https://www.facebook.com/dialog/oauth?response_type=token&display=popup&client_id=145634995501895&redirect_uri=https%3A%2F%2Fdevelopers.facebook.com%2Ftools%2Fexplorer%2Fcallback&scope=user_actions.books%2Cuser_actions.music%2Cuser_actions.video%2Cuser_checkins%2Cuser_education_history%2Cuser_events%2Cuser_games_activity%2Cuser_groups%2Cuser_hometown%2Cuser_interests%2Cuser_likes%2Cuser_location%2Cuser_notes%2Cuser_photo_video_tags%2Cuser_photos%2Cuser_questions%2Cuser_relationship_details%2Cuser_relationships%2Cuser_religion_politics%2Cuser_status%2Cuser_subscriptions%2Cuser_videos%2Cuser_website%2Cuser_work_history%2Cfriends_about_me%2Cfriends_actions.books%2Cfriends_actions.music%2Cfriends_actions.news%2Cfriends_actions.video%2Cfriends_activities%2Cfriends_birthday%2Cfriends_checkins%2Cfriends_education_history%2Cfriends_events%2Cfriends_games_activity%2Cfriends_groups%2Cfriends_hometown%2Cfriends_interests%2Cfriends_likes%2Cfriends_location%2Cfriends_notes%2Cfriends_photo_video_tags%2Cfriends_photos%2Cfriends_questions%2Cfriends_relationship_details%2Cfriends_relationships%2Cfriends_religion_politics%2Cfriends_status%2Cfriends_subscriptions%2Cfriends_videos%2Cfriends_website%2Cfriends_work_history%2Cads_read%2Cemail%2Cpublish_checkins");
$gay = preg_match("/access_token=(.*?)&expires_in/i", $asu, $m);
$fp = fopen("token.txt", 'w') or die("gay");
fwrite($fp, $m[1]);
fclose($fp);
echo $m[1];
function curl($url, $post=null){
 $ch = curl_init();
 curl_setopt($ch, CURLOPT_URL, $url);
 if($post!=null){
  curl_setopt($ch, CURLOPT_POST, true);
  curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
 }
 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
 curl_setopt($ch, CURLOPT_HEADER, true);
 curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0");
 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
 curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie.txt");
 curl_setopt($ch, CURLOPT_COOKIEJAR, "cookie.txt");
 //curl_setopt($ch, CURLOPT_VERBOSE, true);
 $exec = curl_exec($ch);
 curl_close($ch);
 return $exec;
}
?>
2. Buat file token.txt. Ini bertujuan untuk menyimpan token anda nantinya
3. Kemudian, Upload di Cpanel Anda.