CodeIgniter Forums

Full Version: face book application and google application
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

My face book application

the url is on, and it is a ci site.

And to add a google application which is at to face book application. I use the following codes.

<fb:iframe src="" smartsize=true></fb:iframe>

It is working fine.

But if I change the google application to anther domain using CI too, such as

I will use instead of

The face book code will be

<fb:iframe src="" smartsize=true></fb:iframe>

Then I cannot see the google map application, I will get the page not available error.

Why in <fb:iframe src="..." smartsize=true></fb:iframe>

I cannot use another ci site as the src?

In simple words, face book is on CI, and I cannot put google map application on another ci site.


El Forum

[eluser]Colin Williams[/eluser]
Have you asked this in Facebook dev forums? I don't see how this is a CI issue since the page loads fine outside of Facebook.

El Forum

Yes. I did ask in face book forum too.

Well, it seems to me that is a CI related issue. Because if the src of google application I gave is a traditional php site, there is no problem. But if the src of the google application is a CI site, then it gives error message like page not found. (although if i directly access the google application on the ci site, it is fine.

El Forum

I found this thread.

Instead set up

$config['uri_protocol'] = “PATH_INFO”;

like this thread said, I need to set

$config['uri_protocol'] = "ORIG_PATH_INFO";

It works fine now.

But I am so sure what is the logic here.

In simple words

$config['uri_protocol'] = "ORIG_PATH_INFO";

to make the fb iframe work, why?