I am trying to use a simple Share dialog that is invoked through Javascript on a website page. I can download fine SDK:
window.fbAsyncInit = function() {
FB.init({
appId : '{My-App-ID}',
xfbml : true,
version : 'v2.0'
});
};
(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'));
And my javascript function is taken directly from FB Docs:
FB.ui(
{
method: 'share',
href: 'https://developers.facebook.com/docs/'
}, function(response){});
The problem is testing. To do this, I created a test application in my main application. My personal Facebook account is the administrator of this application. When I log in to my personal account, I can call the exchange dialog and it works fine.
However, when I create a "Test User" from the "Roles → Test Users" section of the application panel and register as him, I get the following error when trying to call the sharing dialog:
, : . .
, , . - , ? .