Take the 2-minute tour ×

I'm trying a simple Share dialogue, invoked via Javascript a website page. I can load the SDK fine:

         window.fbAsyncInit = function() {
         appId      : '{My-App-ID}',
         xfbml      : true,
         version    : 'v2.0'

     (function(d, s, id){
        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);

And my javascript function is taken straight from the FB Docs:

      method: 'share',
      href: 'https://developers.facebook.com/docs/'
    }, function(response){});

The issue is testing. I've created a Test App within my main app for this purpose. My Personal Facebook account is an administrator for this App. When logged into my personal account I can invoke the share dialogue and it works fine.

However when I create a 'Test User' from the Roles -> Test Users section on the App Dashboard and log in as them, I get the following error when trying to invoke the share dialogue:


Very frustrating as I want to test using a test account. Any clues as to why this isn't working? Many thanks.

share|improve this question

Your Answer



Browse other questions tagged or ask your own question.