Ditutup

Add all friends to event page on facebook

Looking for a script that will add all my friends to a facebook group page.

This is the code i have so far but the post data wont work :(

$status = null;

green("Logging into account: $account");

setPassword($account);

$con = null;

db_connect($con, $dbName, $dbUser, $dbPassword);

/* */

if(file_exists($cookieFile)) {

unlink($cookieFile);

}

$qryString = 'charset_test=%E2%82%AC%2C%C2%B4%2C%E2%82%AC%2C%C2%B4%2C%E6%B0%B4%2C%D0%94%2C%D0%84&locale=en_US&email='.urlencode($account).'&pass='.urlencode($pass).'&pass_placeholder=&charset_test=%E2%82%AC%2C%C2%B4%2C%E2%82%AC%2C%C2%B4%2C%E6%B0%B4%2C%D0%94%2C%D0%84';

if (fb_login($account,$pass,$cookieFile)){

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, '[url removed, login to view]');

curl_setopt($ch, CURLOPT_POSTFIELDS,$qryString);

curl_setopt($ch, CURLOPT_POST, 1);

curl_setopt($ch, CURLOPT_HEADER, 0);

if (ini_get('open_basedir') == '' && ini_get('safe_mode' == 'Off'))

curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

curl_setopt($ch, CURLOPT_COOKIEJAR, $cookieFile);

curl_setopt($ch, CURLOPT_COOKIEFILE, $cookieFile);

curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR [url removed, login to view])");

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

$page = curl_exec($ch);

//echo $page;

}

unset($page);

sleep(2);

unset($page,$qryString);

curl_setopt($ch, CURLOPT_POST, 0);

curl_setopt($ch, CURLOPT_URL, '[url removed, login to view]');

$page = curl_exec($ch);

echo $page;

getPostingDetails($page, $ch);

$idList = getUserIds(&$con,'1');

while($row = mysql_fetch_array($idList)) {

$id = $row['friend_id'];

blue($id);

//$id = 1068023190;

$qrySrring = '&source=suggestion&group_id=166253536828885&members[0]='.$id.'&position=2&suggestion_alg_score=47.463338960203&post_form_id=e9a6c866fa56d9ba424e9e13caabf65b&fb_dtsg=AQAzU0x1&lsd&post_form_id_source=AsyncRequest&__user=100001289080945&phstamp=1658165122854812049240';

$qrySrring = '&post_form_id=e9a6c866fa56d9ba424e9e13caabf65b&fb_dtsg=AQAzU0x1&group_id=166253536828885&source=typeahead&ref=&message_id=uoabl6_2&members='.$id.'&lsd&post_form_id_source=AsyncRequest&__user=100001289080945&phstamp=1658165122854812049213';

'&source=suggestion&group_id=181446941973782&members[0]=100001420577428&position=2&suggestion_alg_score=0.49758950160103&fb_dtsg=AQDuoewD&__user=100002258155437&phstamp=165816811711110111968158';

'&source=suggestion&group_id=181446941973782&members[0]=100001027657199&position=3&suggestion_alg_score=0.42071733583646&fb_dtsg=AQDuoewD&__user=100002258155437&phstamp=165816811711110111968158';

$qrySrring = '&source=suggestion&group_id=181446941973782&members[0]='.$id.'&position=2&suggestion_alg_score=0.14838521449038&fb_dtsg=AQDuoewD&__user=100002258155437&phstamp=165816811711110111968158';

// blue(splitPostData($qryString));

blue($qryString);

curl_setopt($ch, CURLOPT_URL, '[url removed, login to view]');

curl_setopt($ch, CURLOPT_POST, 1);

curl_setopt($ch, CURLOPT_POSTFIELDS, $qryString);

$page = curl_exec($ch);

$page = str_replace('for (;;);', '', $page);

$json_output = json_decode($page);

if($json_output && $json_output->error) {

red("Problem inviting user<br />");

red($json_output->description);

}

}

Kemahiran: Pemasaran Facebook, MySQL, PHP, Kejuruteraan Perisian

Lihat lebih lanjut: add friends facebook group, php add friends event, add friends event page, add friends event, script add friends group, add event code, add friends facebook event, add event facebook, add friends facebook, php script null, page problem, script add friends groups, group page, facebook group page, facebook friends groups, rv, facebook groups members, facebook group post, facebook add, clr, b0, ajax facebook, add friends, add facebook friends group, friends group

Tentang Majikan:
( 50 ulasan ) Dublin, Ireland

ID Projek: #1539696

2 pekerja bebas membida secara purata $125 untuk pekerjaan ini

VileGnosis

Details in PMB

$150 USD dalam 0 hari
(168 Ulasan)
6.6
REALIKES

i have that one

$100 USD dalam 2 hari
(1 Ulasan)
1.0