I have the facebook app installed and it works great. What I would like to do is add the functionality of requesting user permission data. such as - read_friendlists, user_groups, email, user_birthday, status_update, publish_stream,
Firstly, here is the code that checks if there is a fan or not a fan in our facebook timeline application.
// If a fan is on your page if ($like_status) { $a = file_get_contents("http://www.domain.com/home.php"); echo ($a); } else { // If a non-fan is on your page $a = file_get_contents("http://www.domain.com/home.php"); echo ($a); }
What I would like to do is that if there is no fan on our page, open facebook request for permission and set some permissions. Then redirect them to // if there is a fan on our page.
I had a good look, but I still donβt understand how to configure the βrequestβ on the permission page. Any help would be greatly appreciated.
source share