• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
facebook authorize application --> blank page

hello everybody

i use codeigniter to build my facebook application.
But i have a problem with invitation et authorizing application.
When people accept my application, he is redirected to a blank page.
The application is succesfully installed but we can't see anything,only a blank page.
I posted a topic on facebook forum but no response!!!
My url to application and my facebook are configured like junal's blog exemple.

extract of my controler
class game extends Controller {

    private $facebook;
    //API and secret key that you got from your application setup.
    private $__fbApiKey = 'apikey';
    private $__fbSecret = 'secretkey';

    public function __construct()
       //load the client library that we added as plugin in plugins folder.
       // Prevent the 'Undefined index: facebook_config' notice from being thrown.
       $GLOBALS['facebook_config']['debug'] = NULL;
       // Create a Facebook client API object.
       $this->facebook = new Facebook($this->__fbApiKey, $this->__fbSecret);
       $user = $this->facebook->require_login();
    public function index()
        // Retrieve the user's friends and pass them to the view.
        $data["friends"] = $this->facebook->api_client->friends_get();
        $this->load->view('game_view' , $data);

may be somebody has met the same problem and can help me?

thank and sorry for my poor english :cheese:

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.