• Resolved Nenad Obradovic

    (@nenad-obradovic)


    Hi guys,

    I have a problem with the Facebook Login when I try to log in through the Facebook app It just redirects me to the site page but the user is not registered and logged in. Are there any familiar issues with this?

    When I disabled W3 Total Cache then Facebook login works fine. I can’t disable cache only for that page, because Facebook login is part of widget and that widget appears on all pages. 🙁

    Best regards,
    Nenad

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @nenad-obradovic

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    Are you using any specific Plugin for Facebook login? Is the option “Don’t cache pages for logged in users” enabled in Performance>Page Cache? Also if the option “Set expires header” is enabled in Performance>Browser Cache>HTML&XML section please disable it, save all settings and purge the cache. See if the issue persists.
    Thank you!

    Thread Starter Nenad Obradovic

    (@nenad-obradovic)

    Hi Marko,

    No, I implemented custom Facebook login with their APP, example https://developers.facebook.com/docs/javascript/quickstart

    “Is the option: Don’t cache pages for logged in users”
    Yes, that option is enabled.

    “Set expires header option”
    This option is enabled. I will try to deactivate and to check what will happen.

    Best regards,
    Nenad

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @nenad-obradovic

    Thank you for the information. Please make sure that you disable the “Set expires header option” only in the HTML&XML section of the Browser Cache.
    You can also try the Page Fragment Cache. Page Fragment Caching can be used to wrap a PHP code with <!–mfunc –> comment and serve the dynamic part of the page for the users and keep the rest of the page cached.
    For more details, you should check our FAQ page and this article.
    Thank you!

    Thread Starter Nenad Obradovic

    (@nenad-obradovic)

    Hi Marko,

    Thanks for your help 🙂
    Problem was solved. Expires header option needs to be disabled.

    Best regards,
    Nenad

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @nenad-obradovic

    Thank you for the information. I am glad that your issue is resolved.
    We would really appreciate it if you could take a minute and post a review here. This will help us to continue offering a top-notch product to users. Thank you for your help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom Facebook Login APP’ is closed to new replies.