简体   繁体   中英

Facebook php sdk 3.2.1 + javascript login infinite loop

The problem may seem a duplicate of many other facebook connect login loop issues but it's not since it refers to the latest php sdk version (3.2.1) available at the moment. All the older questions refer to other versions, or solution provided don't fit this case.

Shortly: using php sdk 3.2.1 for session management and javascript sdk to get a popup login instead of a page redirection generates an infinite loop on certain browsers. The example itself provided in the sdk does not work on Chrome.

The problem is better explained on the facebook dev site here (no-one solved it, perhaps they will just include a fix on the new release).

It seems to concern the cookie management. Any idea of how to patch it?

Could be related to this recent bug: http://developers.facebook.com/bugs/238039849657148

Try upgrading to the latest version of the PHP-SDK (3.2.2).

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