This topic has 1 reply, 2 voices, and was last updated 9 years by Andrei.

  • Author
  • #61393
     twoshoes
    Participant

    Hi,
    How can I change the Facebook Javascript SDK code?

    I would like to change it to my language, and at Facebook Developers they say to change this line:

    js.src = "//connect.facebook.net/nb_NO/sdk.js#xfbml=1&version=v2.3&appId=***************";

    Since FB always keep changing their SDK codes, would it be possible to have this in the theme menu so we can update it ourselves?

    #62786
     Andrei
    Moderator

    Hi,

    The file containing the fb sdk for login is this:
    “wp-content/themes/sweetdate/framework/functions/facebook_login.php”
    And the sdk url is defined at line 30.

    Please note that this file will get overwritten at updates, we’ll give a look to see if we can set this by the language used in wordpress.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?