저는 페이스 북 앱에 초보자이며 페이스 북 SDK에서 응용 프로그램 ID로 간단한 로그인을하고 있습니다.페이스 북의 웹 사이트 로그인이 앱과 함께 로그인하지 않았습니다.
나는 Facebook에서 응용 프로그램을 만들었습니다. 그 후 내 페이스 북의 코드는 다음과 같습니다.
window.fbAsyncInit = function() {
FB.init({
appId : '619422074760339', // App ID
channelURL : '', // Channel File, not required so leave empty
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
oauth : true, // enable OAuth 2.0
xfbml : false // parse XFBML
});
};
appId 및 비밀 키를 제공했습니다. 나는이 스크립트를 사용하여 내 로컬 호스트에서 로그인을 시도 할 때 누군가가 친절하게 방법이 문제를 해결하기 위해 말해 줄 수 그래서
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
처럼 나에게 오류를 보여 주었다. 어떤 도움이나 제안이라도 대단히 감사 할 것입니다. 감사합니다.