• Hi, there is a JS error caused by calling a function that is apparently not available. Can you please fix this.

    Error:
    “ReferenceError: getLogin is not defined”

    Called in:

    var quizSiteUrl = 'https://my_example.com';
    										window.fbAsyncInit = function() {
    					FB.init({
    						appId    : '...',
    						xfbml    : true,
    						version  : 'v2.9'
    					});
    					FB.getLoginStatus(function( response ) {
    						getLogin( response );
    					});
    				};
    				(function(d, s, id) {
    					var js, fjs = d.getElementsByTagName(s)[0];
    					if (d.getElementById(id)) {return;}
    					js = d.createElement(s); js.id = id;
    					js.src = "//connect.facebook.net/en_US/sdk.js";
    					fjs.parentNode.insertBefore(js, fjs);
    				}(document, 'script', 'facebook-jssdk'));
  • The topic ‘Javascript error getLogin()’ is closed to new replies.