cURL Wikipedia page cURL tutorial: Using cURL to automate HTTP jobs 1 - Update your Facebook status Wanna update your facebook status, but don't want to go to facebook.com , login, and finally being able to update your status? Simply save the following code on your server, define the variables, and voilĂ ! <?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,...
links, problems, solutions, discoveries, ideas, tags