Unity game on facebook question

Hello!

I have created a canvas page on facebook with my Unity web content.
It looks good: http://apps.facebook.com/supergun/
But is it normal that no Request for Permission appear when my friend open the app from this page: http://www.facebook.com/apps/application.php?id=216020301767130 ?

They just open the app, I think permission is for letting the app - for instance - write to your wall, etc.

Hi arar, sorry for asking here, im new in facebook app development, how you managed to ask for permissions when a person enter your app? where do you put the code scope=> ? is in the html that comes when you compile your game for web platform ??

thanks in advance.

Hello wolfgang. If you want that your app makes bookmarks in the user favorites and generate stories like “wolfgang is playing app” you have to ask for the basic permissions. change the .html suffix to .php and put following code at the top of the file:

you will find more information on this link: https://developers.facebook.com/docs/authentication/

<?php 

   $app_id = "APP ID";
   $app_secret = "APP SECRET";
   $my_url = "APP URL";

   session_start();
   $code = $_REQUEST["code"];

   if(empty($code)) {
     $_SESSION['state'] = md5(uniqid(rand(), TRUE)); //CSRF protection
     $dialog_url = "https://www.facebook.com/dialog/oauth?client_id=" 
       . $app_id . "&redirect_uri=" . urlencode($my_url) . "&state="
       . $_SESSION['state'];

     echo("<script> top.location.href='" . $dialog_url . "'</script>");
   }

   if($_REQUEST['state'] == $_SESSION['state']) {
     $token_url = "https://graph.facebook.com/oauth/access_token?"
       . "client_id=" . $app_id . "&redirect_uri=" . urlencode($my_url)
       . "&client_secret=" . $app_secret . "&code=" . $code;

     $response = file_get_contents($token_url);
     $params = null;
     parse_str($response, $params);

     $graph_url = "https://graph.facebook.com/me?access_token=" 
       . $params['access_token'];

     $user = json_decode(file_get_contents($graph_url));
   }

?>

Can I ask how you got your unity game onto facebook? I have my facebook app, and my unity game, but not sure yet on how to put the two together.

Can I ask how you got your Unity game onto facebook? I have my unity game and my facebook app, just not sure on how to put the two together. Any help would be appreciated

look at this video: http://vimeo.com/6135516