I put a share button, it opens a new window to share what I set, and if I share, I do an action, if I have not shared it, I do another action.
However, it gives an error in this new window, from facebook itself:
Unable to load URL: The domain for this URL is not included in the application domains. In order to load this URL, add all domains and subdomains to the Application domains field in the application settings.
I have seen, verified in my facebook app, in my consensus everything is correct.
This is basically the code I'm using (See JsFiddle is running exactly as I defined it in my test environment):
Any information, request, I really need to solve this problem.