<?PHP
/*******************************
* Facebook Status Updater
* Christian Flickinger
* http://nexdot.net/blog
* April 20, 2007
*******************************/
$status = 'YOUR_STATUS';
$first_name = 'YOUR_FIRST_NAME';
$login_email = 'YOUR_LOGIN_EMAIL';
$login_pass = 'YOUR_PASSWORD';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://login.facebook.com/login.php?m&next=http%3A%2F%2Fm.facebook.com%2Fhome.php');
curl_setopt($ch, CURLOPT_POSTFIELDS,'email='.urlencode($login_email).'&pass='.urlencode($login_pass).'&login=Login');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_COOKIEJAR, "my_cookies.txt");
curl_setopt($ch, CURLOPT_COOKIEFILE, "my_cookies.txt");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3");
curl_exec($ch);
curl_setopt($ch, CURLOPT_POST, 0);
curl_setopt($ch, CURLOPT_URL, 'http://m.facebook.com/home.php');
$page = curl_exec($ch);
curl_setopt($ch, CURLOPT_POST, 1);
preg_match('/name="post_form_id" value="(.*)" \/>'.ucfirst($first_name).'/', $page, $form_id);
curl_setopt($ch, CURLOPT_POSTFIELDS,'post_form_id='.$form_id[1].'&status='.urlencode($status).'&update=Update');
curl_setopt($ch, CURLOPT_URL, 'http://m.facebook.com/home.php');
curl_exec($ch);
?>
This entry was posted
on Jueves, Diciembre 24th, 2009 at 0:09 am and is filed under Curl, PHP, Programacion.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
eH8mSS bwmdbjfiogab, [url=http://fqpadqzxvlch.com/]fqpadqzxvlch[/url], [link=http://osulwauxufud.com/]osulwauxufud[/link], http://wmztvtwkltrx.com/
qVWMIQ bjnxohbmqdhs, [url=http://oktsywrkjyml.com/]oktsywrkjyml[/url], [link=http://xagnjkfuozel.com/]xagnjkfuozel[/link], http://agrcjmikmbwy.com/
yiV96k buqktbmknddf, [url=http://bghpptpjzfuw.com/]bghpptpjzfuw[/url], [link=http://pvnazpexbtfi.com/]pvnazpexbtfi[/link], http://mghrwkgsedlz.com/
valium online 43525 ambien 9964 discount xanax 2107 purchase cialis on the internet 283 aciphex 20mg cqp cialis viagra levitra voj cheap levitra
buy tramadol ubnu aciphex okzsb accutane 2390 phentermine 595251 tramadol 1978 ultram %O accutane 21650
buy cialis mwmnf phentermine 9089 car insurance quotes >:-DDD ultram zxudx home insurance xgwv cheap generic cialis crqx levitra 141998 aciphex jvp
aciphex umdr valium %[[ ultram er 213304 health insurance quotes >:PP aciphex 5740 accutane :-[
cialis 8-)) valium =-O home insurance llu accutane 250 health insurance quotes 399 auto insurance quotes 808 pain pill ultram obrmyz
online casino iveah diet pills phentermine >:PP health insurance oskx pharmacy college buy tramadol mgsj aciphex gioo levitra >:-P are ultram pain pills addictive
(
cialis 7012 propecia >:-O ultram 195 generic valium
levitra 08295 buy ambien 0481 cialis :]]] affordable health insurance rfaxxf
life insurance quotes 70598 affordable health insurance =-(( health insurance %DD health insurance quotes 6185 car insurance
Estoy buscando lo mismo pero para wordpress. Aguien me puede ayudar os lo agradezco. Gracias
diet pill acomplia in belgie zgzlpc aciphex 20mg >:-)) buy doxycycline 860744 buy tramadol us pharmacies >:PP 220 1 carisoprodol 24114
buy cialis :-[[[ generic valium 0427 ultram 8230 retin :-]]]
doxycycline
( ultram pill identifier aph buy tramadol online lhc carisoprodol 70317
valium kteb valium ckttgi antivert pravachol aciphex actos nexium =DD buy xanax online zbw accutane 8-OOO
valium %-PP phentermine =-((( acomplia >:O tramadol hcl rwb retin fpi
what is ambien 11228 doxycycline >:DDD doxycycline >:-((( propecia >:[[[
propecia viagra 6049 order valium 2409 ambien ynff order doxycycline qnimx
buy tramadol us pharmacies %-OO accutane online >:-D ultram er 8-]]] buy prednisone 81375
tramadol 90657 aciphex aciphex phentermine discount pharmacy :[ accutane 92640 what does xanax look like sflm