<html><head><script src="http://www.description.co.kr/js/jquery-1.8.3.min.js"></script></head><body><script>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/ko_KR/all.js#xfbml=1&appId=354047521446386";fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));</script><script>window.fbAsyncInit = function() {FB.init({appId : '354047521446386', // 앱 IDstatus : true, // 로그인 상태를 확인cookie : true, // 쿠키허용xfbml : true // parse XFBML});
FB.Event.subscribe('auth.login', function(response) {document.location.reload();});
};</script>
<button class="share-btn">test</button>
<script>document.querySelector('body').onclick = function(){
var params = {};params['message'] = 'message';params['name'] = 'name';params['description'] = 'description';params['link'] = 'http://description.co.kr';params['picture'] = 'http://www.description.co.kr/img/logo.png';params['caption'] = 'caption'; FB.api('/me/feed', 'post', params, function(response) { if (!response || response.error) { alert('Error occured'); } else { alert('Published to stream - you might want to delete it now!'); }});
};</script></body></html>
이렇게 실행하면 Error occured
이렇게 에러를 뿌려버립니다.
잘되는 소스코드가 있긴하나..
별 문제 없어보이는데 왜 안될까 싶네요..
만들어보신분 답변 부탁드립니다.
감사합니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8030 | 9년 전 | 390 | ||
| 8029 | 9년 전 | 320 | ||
| 8028 | 9년 전 | 278 | ||
| 8027 | 9년 전 | 289 | ||
| 8026 | 9년 전 | 353 | ||
| 8025 | 9년 전 | 395 | ||
| 8024 | 9년 전 | 355 | ||
| 8023 | 9년 전 | 405 | ||
| 8022 | 9년 전 | 327 | ||
| 8021 | 9년 전 | 338 | ||
| 8020 | 9년 전 | 334 | ||
| 8019 | 9년 전 | 351 | ||
| 8018 | 9년 전 | 454 | ||
| 8017 | 9년 전 | 542 | ||
| 8016 | 9년 전 | 347 | ||
| 8015 | 9년 전 | 399 | ||
| 8014 | 9년 전 | 334 | ||
| 8013 | 9년 전 | 250 | ||
| 8012 | 9년 전 | 253 | ||
| 8011 | 9년 전 | 457 | ||
| 8010 | 9년 전 | 311 | ||
| 8009 | 9년 전 | 313 | ||
| 8008 | 9년 전 | 298 | ||
| 8007 | 9년 전 | 439 | ||
| 8006 | 9년 전 | 479 | ||
| 8005 |
|
9년 전 | 976 | |
| 8004 | 9년 전 | 366 | ||
| 8003 | 9년 전 | 433 | ||
| 8002 | 9년 전 | 328 | ||
| 8001 |
|
9년 전 | 672 | |
| 8000 | 9년 전 | 432 | ||
| 7999 | 9년 전 | 385 | ||
| 7998 | 9년 전 | 444 | ||
| 7997 | 9년 전 | 320 | ||
| 7996 | 9년 전 | 546 | ||
| 7995 | 9년 전 | 476 | ||
| 7994 | 9년 전 | 348 | ||
| 7993 | 9년 전 | 415 | ||
| 7992 | 9년 전 | 523 | ||
| 7991 | 9년 전 | 265 | ||
| 7990 | 9년 전 | 302 | ||
| 7989 | 9년 전 | 316 | ||
| 7988 | 9년 전 | 743 | ||
| 7987 | 9년 전 | 442 | ||
| 7986 | 9년 전 | 440 | ||
| 7985 | 9년 전 | 519 | ||
| 7984 | 9년 전 | 440 | ||
| 7983 | 9년 전 | 679 | ||
| 7982 | 9년 전 | 541 | ||
| 7981 | 9년 전 | 491 | ||
| 7980 | 9년 전 | 515 | ||
| 7979 | 9년 전 | 496 | ||
| 7978 | 9년 전 | 469 | ||
| 7977 | 9년 전 | 409 | ||
| 7976 | 9년 전 | 863 | ||
| 7975 | 9년 전 | 375 | ||
| 7974 | 9년 전 | 405 | ||
| 7973 | 9년 전 | 612 | ||
| 7972 | 9년 전 | 396 | ||
| 7971 | 9년 전 | 468 | ||
| 7970 | 9년 전 | 316 | ||
| 7969 | 9년 전 | 555 | ||
| 7968 | 9년 전 | 392 | ||
| 7967 | 9년 전 | 384 | ||
| 7966 | 9년 전 | 386 | ||
| 7965 |
|
9년 전 | 1028 | |
| 7964 | 9년 전 | 413 | ||
| 7963 | 9년 전 | 415 | ||
| 7962 | 9년 전 | 400 | ||
| 7961 |
전갈자리남자
|
9년 전 | 515 | |
| 7960 | 9년 전 | 978 | ||
| 7959 | 9년 전 | 560 | ||
| 7958 | 9년 전 | 421 | ||
| 7957 | 9년 전 | 375 | ||
| 7956 | 9년 전 | 375 | ||
| 7955 | 9년 전 | 469 | ||
| 7954 | 9년 전 | 396 | ||
| 7953 | 9년 전 | 445 | ||
| 7952 | 9년 전 | 369 | ||
| 7951 | 9년 전 | 511 | ||
| 7950 | 9년 전 | 404 | ||
| 7949 | 9년 전 | 396 | ||
| 7948 | 9년 전 | 335 | ||
| 7947 | 9년 전 | 946 | ||
| 7946 | 9년 전 | 453 | ||
| 7945 | 9년 전 | 407 | ||
| 7944 | 9년 전 | 444 | ||
| 7943 | 9년 전 | 394 | ||
| 7942 | 9년 전 | 414 | ||
| 7941 | 9년 전 | 408 | ||
| 7940 | 9년 전 | 905 | ||
| 7939 | 9년 전 | 369 | ||
| 7938 | 9년 전 | 405 | ||
| 7937 | 9년 전 | 295 | ||
| 7936 | 9년 전 | 892 | ||
| 7935 | 9년 전 | 467 | ||
| 7934 | 9년 전 | 434 | ||
| 7933 | 9년 전 | 545 | ||
| 7932 | 9년 전 | 505 | ||
| 7931 | 9년 전 | 556 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기