Facebook login – set up - by Giles

This topic has 10 replies, 3 voices, and was last updated 3 years, 8 months ago ago by Olga Barlow

  • Avatar: Giles
    Giles
    Participant
    August 20, 2020 at 10:01

    hi, i’m trying to set up the facebook login. I’ve got this code (below) but am I right in thinking this will work? I don’t have any coding experience so just looking for some advice on this.

    Also, do you know if I can do this on the test site and then copy it across to the live site when it’s ready?

    thanks,
    Giles

    Please, contact administrator
    for this information.
    9 Answers
    Avatar: Giles
    Giles
    Participant
    August 20, 2020 at 10:05

    I have this code too…


    function checkLoginState() {
    FB.getLoginStatus(function(response) {
    statusChangeCallback(response);
    });
    }

    And this is the app ID…
    3230541237053734

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 20, 2020 at 13:45

    Hello,

    Our theme comes with the built-in FB log in option. You need to add Facebook APP ID and Facebook APP SECRET in Theme Options > FaceBook login
    Also, follow the documentation https://xstore.helpscoutdocs.com/article/87-facebook-login

    Regards

    Avatar: Giles
    Giles
    Participant
    August 21, 2020 at 12:28

    okay, thanks . i’ve added these in now but i am getting this error when try to login using the facebook option https://prnt.sc/u3fh02

    i added the URL to the facebook app page but still getting the same error https://prnt.sc/u3fj12

    Any ideas?

    This is the error message that appears on screen …

    Can’t load URL: The domain of this URL isn’t included in the app’s domains. To be able to load this URL, add all domains and sub-domains of your app to the App Domains field in your app settings.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 21, 2020 at 17:48

    Hello,

    Add our user web.8theme to developers in your FB app settings to allow us with check the settings in more detail.

    Regards

    Avatar: Giles
    Giles
    Participant
    August 23, 2020 at 20:41

    great, thanks – i’ve done that

    Avatar: John Holden
    John Holden
    Support staff
    August 25, 2020 at 05:30

    Hi,

    Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help.

    Regards,
    Hung PD

    Avatar: Giles
    Giles
    Participant
    August 25, 2020 at 11:39

    No, sorry, it’s not resolved. I meant that i added you to the developer app.

    Avatar: Giles
    Giles
    Participant
    August 26, 2020 at 12:31

    did you have a chance to take a look at this? sorry to ask but i really need to get this working if possible

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 26, 2020 at 13:39

    Hello,

    Sorry for the delay in answering. Try now.
    You just forgot to add the Redirect URIs http://prntscr.com/u67aqe

    Regards

  • Viewing 10 results - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.