Note that there are some explanatory texts on larger screens.

plurals
  1. POFacebook Commentlike Script doesn't work anymore. Why?
    primarykey
    data
    text
    <p>a few days ago I tried to make this script working. It was working for 3 weeks I think. Now it doesn't work anymore on any server I have. Other providers I tried but doesn't work, too.</p> <p>I get the following error:</p> <pre><code>for (;;);{"__ar":1,"error":1357032,"errorSummary":"Leider ist etwas schief gelaufen","errorDescription":"Bitte versuche, diese Seite neu zu laden oder schlie\u00dfe dein Browserfenster und \u00f6ffne es erneut.","payload":null,"bootloadable":{},"ixData":[]} </code></pre> <p>User password is right, IP adress isn't blacklisted from my server.</p> <p>Could anybody help me please? :)</p> <pre><code>&lt;?php /* ######################################################### # Copyright to Zatarra @ rstforums.com # # Use it only with your own accounts! # ######################################################### */ //The link variable is the only one you have to modify!!! Leave the rest as it is in order to work. $link='https://www.facebook.com/LinkToYourComment'; @preg_match_all('/sts\/([0-9]*?)\?comment/',$link,$postid); if (!@$postid[1][0]) { @preg_match_all('/fbid=([0-9]*?)\&amp;set/',$link,$postid); } @preg_match_all("/comment_id=([0-9]*?)\&amp;offset/",$link,$commentid); @preg_match_all("/a.([0-9]*?).([0-9]*?).([0-9]*?)\&amp;/",$link,$photo); if (@$photo[2][0]) {$length=strlen($photo[2][0]);} else {$length=5;} //Initializing cookies folder $directory=getcwd()."/cookies"; //Checking if cookies folder exists if (file_exists($directory)) { //Eating all the cookies to avoid problems echo shell_exec("rm -rf ./cookies/*.cookie"); } else { //Creating directory echo shell_exec("mkdir cookies"); } //Initializing users and passwords $user=file('users.txt'); function login($username,$password) { $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, "https://login.facebook.com/login.php?m&amp;next=http://m.facebook.com/home.php"); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl, CURLOPT_POSTFIELDS, "email=" . @$username . "&amp;pass=" . @$password . "&amp;login=Log In"); curl_setopt($curl, CURLOPT_ENCODING, ""); curl_setopt($curl, CURLOPT_COOKIEJAR, "cookies/$username.cookie"); curl_setopt($curl, CURLOPT_COOKIEFILE, "cookies/$username.cookie"); $curlData = curl_exec($curl); $curlData = curl_exec($curl); @preg_match_all('/name=\"fb_dtsg\" value=\"(.*?)\"/',$curlData,$dtsg); //echo "dtsg =&gt; ".$dtsg[1][0]."\n"; @preg_match_all('/\"user\":\"(.*?)\",\"locale\"/',$curlData,$userid); //echo "Profile Id =&gt; ".$userid[1][0]."\n"; @preg_match_all('/data-sigil=(.*?)\&gt;\&lt;table/',$curlData,$rasp); if (@$rasp[1][0]) { return array(0,0); } else { return array($dtsg[1][0],$userid[1][0]); } } function likecomment($username,$password,$fpostid,$fcommentid,$flength) { $userdetails=login($username,$password); if ($userdetails[0]!='0') { if ($flength==5) { $data='comment_id='.$fpostid.'_'.$fcommentid.'&amp;legacy_id='.$fcommentid.'&amp;like_action=true&amp;ft_ent_identifier='.$fpostid.'&amp;source=2&amp;client_id=1375725162708%3A3550641995&amp;ft[tn]=%3ER0]&amp;__user='.$userdetails[1].'&amp;__a=1&amp;__dyn=7n8ahyj35CFUSt2u5FeDKd8q&amp;__req=q&amp;fb_dtsg='.$userdetails[0].'&amp;ttstamp=26581665371788481'; } else { $data='comment_id='.$fpostid.'_'.$fcommentid.'&amp;legacy_id='.$fcommentid.'&amp;like_action=true&amp;ft_ent_identifier='.$fpostid.'&amp;source=2&amp;client_id=1375725162708%3A3550641995&amp;ft[tn]=%3ER0]&amp;ft[type]=44&amp;nctr[_mod]=photos_snowlift&amp;__user='.$userdetails[1].'&amp;__a=1&amp;__dyn=7n8ahyj35CFUSt2u5FeDKd8q&amp;__req=s&amp;fb_dtsg='.$userdetails[0].'&amp;ttstamp=26581665371788481'; } $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, "https://www.facebook.com/ajax/ufi/comment_like.php"); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl, CURLOPT_POSTFIELDS, $data); curl_setopt($curl, CURLOPT_ENCODING, ""); curl_setopt($curl, CURLOPT_COOKIEFILE, "cookies/$username.cookie"); $curlData = curl_exec($curl); $curlData = curl_exec($curl); echo $curlData; } } for ($i=0;$i&lt;count($user);$i++) { $fb=explode(" ",trim($user[$i])); likecomment($fb[0],$fb[1],@$postid[1][0],@$commentid[1][0],$length); likecomment($fb[0],$fb[1],@$postid[1][0],@$commentid[1][0],$length); } //Eating all the remain cookies echo shell_exec("rm -rf cookies/*.cookie"); ?&gt; </code></pre> <p>Source: <a href="http://unixcoders.wordpress.com/2013/08/06/facebook-tools-autoliker-account-verifier/" rel="nofollow">http://unixcoders.wordpress.com/2013/08/06/facebook-tools-autoliker-account-verifier/</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload