Apparently missing add the web platform in the settings:
Settings -> Basic -> Add Platform
Choose the option "Site"
Set the url and save
Tom, I already include this WEB platform... Even now I took it from the localhost, and I went up to a valid domain, and it keeps giving the same error.
You could ask the question what code is doing the redirect to the Facebook or opening the dialog box?
– NoobSaibot
Take a look at this: https://stackoverflow.com/a/24253054/1377664
– Sam
Welligthon, I edited and placed the code snippets
– Mr_Cunha
The correct is to put the code in the body of the question, read Post code as image. Also enter the file code
config.php
.– NoobSaibot