1
팝업을 피하기 위해 JS SDK가없는 facebook 클라이언트 측 인증을 사용하고 싶습니다. 나는 많은 차이점 코드를 시도하지만 아무 것도 많은 시간 동안 도움이되지는 않는다. 여기
Facebook 인증 redirect_uri가 절대 URI가 아닙니다.
FB.init({
appId : appId,
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : false, // parse XFBML
channel : 'http://fb.spot-the-differences.com/index.php',
oauth : true
});
FB.getLoginStatus(function(response) {
if (response.status == 'connected') {
...
} else if (response.status === 'not_authorized') {
top.location = "https://www.facebook.com/dialog/oauth?client_id=" +
appId + "&redirect_uri='" +
encodeURIComponent('http://fb.spot-the-differences.com') +
"'&scope=read_friendlists,publish_actions,publish_stream,email&esponse_type=token";
});
내가 /index.php를 추가하려고 내 코드 변경 URL 주소가 많은 코드를 시도 IP로하지만 항상 설정 기본
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri isn't an absolute URI. Check RFC 3986.
페이스 북 에러
Site URL: http://fb.spot-the-differences.com/
Canvas Page: http://apps.facebook.com/spot-the-differences
Canvas URL: http://fb.spot-the-differences.com/
Secure Canvas URL: https://fb.spot-the-differences.com/
정말 고마워요. 이것은 내가 간과하는 것입니다. – hsgu