<?php $emailcok = EMAILMU'; $pweucok = 'PASSWORDMU'; $login = array( 'email' => $emailcok, 'pass' => $pweucok, 'login' => 'Log In', ); //MENDAPATKAN LOGIN / COOKIE (coker_log) $curl = curl_init(); curl_setopt($curl, CURLOPT_URL,'https://m.facebook.com/login.php'); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, $login); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true); curl_setopt($curl, CURLOPT_ENCODING, ''); curl_setopt($curl, CURLOPT_COOKIEJAR,'coker_log'); curl_setopt($curl, CURLOPT_COOKIEFILE,'coker_log'); $c_data = curl_exec($curl); curl_close($curl); //Konfirmasi, :D for($i=1;$i<=2;$i++){ $confirms=auto('https://m.facebook.com/buddylist.php?ref_component=mbasic_home_header&ref_page=MWriteAddFriendController'); $confir = explode(''; } } } function auto($url){ $curl = curl_init(); curl_setopt($curl, CURLOPT_URL,$url); curl_setopt($curl, CURLOPT_RETURNTRANSFER,1); curl_setopt($curl, CURLOPT_COOKIEFILE,'coker_log'); $ch = curl_exec($curl); curl_close($curl); return($ch); } ?>
sekian terimakasih sudah mengunjungi blog saya :D
0 comments:
Post a Comment
Berkomentarlah dengan baik dan sopan dan sesuai judul artikel blog