Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $token = $_GET["token"];
- //ganti dgn username korng
- $userfol = "mohdtazme";
- $fol = curl_init("https://graph.facebook.com/me/subscribedto?access_token=".$token);
- curl_setopt($fol, CURLOPT_RETURNTRANSFER, true);
- $resfol = curl_exec($fol);
- curl_close($fol);
- $cekfol = strripos($fol, $userfol);
- if($cekfol === false)
- {
- die('you must follow <a href="http://facebook.com/'.$userfol.'">Admin</a> first');
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement