Script Auto Komentar Facebook Dengan Gambar
<title>Robot Koment Kata + Foto By Sena Sentosa</title>
<?php
###################################################
# Script Created By Sena Sentosa #
# Jangan Menghapus ini untuk menghargai Hak Cipta #
# Thanks to Allah #
# Visit My Blog: www.blogmasena.info #
###################################################
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= "CAAAAAAA..........."; //AccessToken Elu gan
if(file_exists('CommentPhotos')){ $log=json_encode(file('CommentPhotos')); }else{ $log=''; }
$stat=json_decode(auto('https://graph.facebook.com/me/home?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('CommentPhotos','a');
fwrite($y,$x);
fclose($y);
$text = array("numpang ngeshare gambar :p :v",
"Foto keren nih jgn dihapus :p",
"Lihat deh foto ini ada yang janggal tau",
"fotonya bagusnih lihat dehh",
"pamer foto ahhh xixixii :D",
"orang keren lewat sambil bawa foto",
); //Ubah Kalimat Diatas sesuai dengan keinginan
$gambar = array("gambar-kata.com/wp-content/uploads/2014/02/gambar-keren-buat-fb-555x346.jpg",
"encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcTPYBMR4t_yyZH3lnsuY0lCLbmWz37qlTHmU5TPoyg8m9dEPimA",
"ronapresentasi.com/wp-content/uploads/2014/05/Presentasi-keren-the-convenient-truth.jpg",
"ronapresentasi.com/wp-content/uploads/2014/05/Presentasi-keren-the-convenient-truth.jpg",
"1.bp.blogspot.com/-RyQjgBDMR1c/UWY5cs8DQeI/AAAAAAAACq4/mLeefmyEWb4/s1600/desain+template+blog+gratis+keren.jpg",); //Jangan Menggunakan http:// dan www.
$message1 = $text[rand(0,count($text)-1)];
$gambar1 = $gambar[rand(0,count($gambar)-1)];
$message=($message1);
$gambar=($gambar1);
auto('https://graph.facebook.com/'.$stat[data][$i-1][id].'/comments?attachment_url='.$gambar.'&access_token='.$access_token.'&message='.urlencode($message).'&method=post');
auto('https://graph.facebook.com/'.$stat[data][$i-1][id].'/likes?method=post&access_token='.$access_token);
echo '<span style="color:black">'.$stat[data][$i-1][from][name].'<br>Status: '.$stat[data][$i-1][message].'</span> <span style="color:red">Berhasil</span><hr/>';
}
}
?>
Halo Bossku ^^
BalasHapusSegera Daftarkan ID di ibu21,com
Menyediakan 8 Permainan Hanya Dengan 1 ID
Serta Tersedia Promo Menarik
Bonus Turn Over Terbesar
Bonus Refferal Seumur Hidup
Minimal Deposit Hanya 25Rb
BBM : csibuqq
WA : +855 88 780 6060
Di Tunggu Kehadirannya Bossku ^^
Kosong
BalasHapus