[eluser]searain[/eluser]
Sorry if I post not related issues at this thread. But I think you are the expert of CI facebook application here and this issue seems to modify on the codes of your controller or the other two controllers you mentioned.
I found some threads, using the same controller as yours, but add one line
parse_str($_SERVER['QUERY_STRING'],$_GET);
Code:
// Prevent the 'Undefined index: facebook_config' notice from being thrown.
$GLOBALS['facebook_config']['debug'] = NULL;
parse_str($_SERVER['QUERY_STRING'],$_GET);
// Create a Facebook client API object.
$this->facebook = new Facebook($this->__fbApiKey, $this->__fbSecret);
$this->user = $this->facebook->require_login();
And then set up
$config['uri_protocol'] = "PATH_INFO";
or
$config['uri_protocol'] = "ORIG_PATH_INFO";
The reason to add this changes is to make the code like this working
<fb:iframe src="http://cifacebook.foliosystems.ca/google_map" smartsize=true></fb:iframe>
the src is pointing to a CodeIgniter page, without the set up changes, facebook application doesn't understand the url.
I did it, and it works. But I am not quit clear about the codeigniter or facebook logic behind this set up.
Any advices?