Я работаю над использованием Javascript SDK для проверки подлинности. Я смог правильно импортировать SDK и поместил на моей странице кнопку Like. Но кнопка входа в facebook должна быть завернута в тег:
<fb:login-button/>
В настоящее время у меня есть весь код из Facebook Login tutorial, вставленный в мой index.html, единственный html файл в моем проекте, в котором размещается приложение React. Но мне нужно поставить последнюю часть, которая имеет действительную кнопку входа, в мой компонент React. Когда я попытался это сделать, я получил следующую ошибку:
ReactifyError: /Users/ritmatter/reps/js/components/Signup.jsx: Parse Error: Line 82: Unexpected end of input while parsing file: /Users/ritmatter/reps/js/components/Signup.jsx
sdk.js:61 The "fb-root" div has not been created, auto-creating
ping?client_id=894010190618709&domain=localhost&origin=1&redirect_uri=http%3A%2F%2Fstatic.ak.facebo…:1 Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App domains.
Как я могу заставить кнопку входа в систему реагировать?