Closed harsha6666 closed 10 years ago
I'm currently off from this plugin and developing in general. Whenever I am back I'll look into it.
I have the same problem. I am running myBB on a CentOS VPS. When I use Apache everything is ok. But, when I use nginx & php-fpm, after the user signs in with facebook and redirected to forum, chrome stops after detecting the redirect loop.
This could be related to PHP sessions handled wrongly or some other misconfiguration errors. The 2.0 version brought a "forced" login which keeps on asking for permissions if the user denies them (they are required if you want to register/login), but it may cause redirect loops in certain occasions. I will push a fix in the next few days (only on GitHub though) which will display the actual error message and you'll be able to identify the precise error.
Thank you very much for your prompt response. I tested it today again and it worked. When it didn't work, I put some debug statements in MyFacebook code to see what was happening. In class_facebook.php line 123 (catch (FacebookApiException $e) ) $e getting OAuthentication token error. I don't remember the exact message now.
Another small problem. After login to facebook using MyFacebook connect link, it redirects back to forum. The url is domain.com/forum/myfbconnect.php?action=do_login&code=xxxxxxxxxxxxxxxxxxxx. At that page I get a Board Message page saying that "You are already logged into the board. Other things to try:" Is it possible to go to board main page instead of this error message even after successful login.
The redirection issues are known but I still have to sort them out and fix them. Wait for a fix.
Another small problem. After login to facebook using MyFacebook connect link, it redirects back to forum. The url is domain.com/forum/myfbconnect.php?action=do_login&code=xxxxxxxxxxxxxxxxxxxx. At that page I get a Board Message page saying that "You are already logged into the board. Other things to try:" Is it possible to go to board main page instead of this error message even after successful login.
— Reply to this email directly or view it on GitHub.
Thank you very much. I will wait.
This issue has been solved with 2.0 already but can affect any updated package. To solve, refer to http://community.mybb.com/thread-137797-post-1078049.html#pid1078049
First of all thanks for your plugin man. It was working awesome till yesterday. Today when i tried to connect through my FBconnect, after loading for few minutes it has shown me "The webpage has redirect loop" & Error code: ERR_TOO_MANY_REDIRECTS. Is this the problem with my website or plugin ? any help is much appreciated