Answer the question
In order to leave comments, you need to log in
How to embed a facebook dialog on a website?
There is an application on facebook "login with facebook".
I am using the same app_id for dialogs .
On the button I hang onclick for this function:
function facebookShare() {
FB.ui({
method: 'feed',
link: 'http://developers.facebook.com/docs/dialogs',
caption: 'Hey!',
redirect_uri: 'https://dev.tripshare.io',
description: 'Hey hey he!',
}, function(response){
if (response) {
alert(response);
}
});
}
Unable to load URL: The domain of this URL is not included in the list of application domains. To load this URL, add all of your application's domains and subdomains to the "Application Domains" field in your application's settings.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question