3

I have seen the answers to the existing two questions on this topic but it has not helped. And the problem still persists so I am re-posting this question.

Here is my code

$(function(){
SE.init({ 
    clientId: <id>, 
    key: '<key>', 
    channelUrl: 'http://example.com/stack/',
    complete: function(data) { 
        $('#login-button')
            .removeAttr('disabled');
    }});

$('#login-button').click(function() {
    SE.authenticate({
        success: function(data) { 
            alert(
                'User Authorized with account id = ' + 
                data.networkUsers[0].account_id + ', got access token = ' + 
                data.accessToken
            ); 
        },
        error: function(data) { 
            alert('An error occurred:\n' + data.errorName + '\n' + data.errorMessage); 
        },
        networkUsers: true
    });
});
});

Even the javascript SDK code shows the same problem. The error shows up irrespective of whether I am signed in or not.

2
  • also having this issue Mar 12, 2016 at 22:24
  • facing the same thing, it says the error for the first time. For second time and further on, it just works ? Jul 9, 2017 at 5:42

0

You must log in to answer this question.

Browse other questions tagged .