I am trying to integrate facebook canvas on my web application that is currently running on localhost:8080
upon running the site it gave me this error.
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.
And here is my app settings.
I was just following the documentation and this error showed up,
window.fbAsyncInit = function() {
FB
.init({
appId : 'myappIdHere', // App ID
channelUrl : 'https://apps.facebook.com/mytestapp/', // Channel File
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true
// parse XFBML
});
FB.ui({
method : 'feed'
});
};
// Load the SDK Asynchronously
(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/all.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));