Chào mừng!

Bằng cách đăng ký với chúng tôi, bạn sẽ có thể thảo luận, chia sẻ và nhắn tin riêng tư với các thành viên khác trong cộng đồng của chúng tôi.

Đăng ký ngay!
  • Chào Khách,
    Bạn cần liên hệ với admin ??? ZALO & TELEGRAM

Hỏi - Đáp ai biết code bot CX mà không bot cho page không

Tham gia
4/12/19
Bài viết
83
Lượt Thích
10
Coins
1,000
Tham gia
4/12/19
Bài viết
83
Lượt Thích
10
Coins
1,000
Mã:
Ai fix vơi
    <?php
    include 'confizz.php';
    $sql = "SELECT token, idfb, type FROM BotCamsuc ORDER BY RAND()";
    $result = mysql_query($sql);
    $list_type = array('LIKE','LOVE','HAHA','WOW','SAD','ANGRY');
    $type = $list_type[array_rand($list_type)];
    while($r = mysql_fetch_assoc($result)){
        $feed = json_decode(cURL('https://graph.fb.me/me/home?access_token='.$r['token'].'&limit=15&fields=id'),true);
        for($i = 0; $i < 10; $i++){
            if($r['type'] != 'RANDOM'){
                 cURL('https://graph.fb.me/'.$feed['data'][$i]['id'].'/reactions?access_token='.$r['token'].'&type='.$r['type'].'&method=post');
            }else{
                 cURL('https://graph.fb.me/'.$feed['data'][$i]['id'].'/reactions?access_token='.$r['token'].'&type='.$type.'&method=post');
            }
        }
    }
    function cURL($url){
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
        return curl_exec($ch);
    }
?>
 
Top Bottom
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock
No Thanks