dimanche 12 février 2017

Facebook PHP SDK login in page tab

Vote count: 0

For start here is whats i'm using : Codeigniter 3 and darkwhispering/facebook-sdk-codeigniter who is a facebook sdk library for codeigniter.

To login with facebook on my app I generate a login url and I redirect the user on this url. It works fine on local and also on my website.

The issue is when a add my app on a facebook tab using this url :

http://ift.tt/2lElvXi

I see my app on a page tab but when I try to click on the login url inside the iframe I get a blank page and there is this message on the javascript console :

Load denied by X-Frame-Options: http://ift.tt/2l3jYN4 does not permit framing.

I understand that facebook block there website to show inside an iframe but I don't understand how I login with the Facebook PHP SDK inside an iframe then ?

Any Idea ? Thanks !

asked 46 secs ago

Let's block ads! (Why?)



Facebook PHP SDK login in page tab

Aucun commentaire:

Enregistrer un commentaire