简体   繁体   中英

Facebook login on page app using php sdk

I have prepared a Facebook login for an application installed in page, the problem is when I click on the "login" button on the page it redirect to a blank white page, without connecting, but when i open the app with the direct link " https://example.com/my-app ", the login is working good without any problems and the user keep being connected after approving the app;

I am working with :

  • codeigniter 3.0
  • Facebook PHP SDK v4
  • PHP 5.4
  • Facebook Scope : public_profile, email

target="_top"添加到iframe中的登录链接,以使其重定向到顶部窗口实例中的登录页面。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM