<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
이렇게 에러를 뿌려버립니다.
잘되는 소스코드가 있긴하나..
별 문제 없어보이는데 왜 안될까 싶네요..
만들어보신분 답변 부탁드립니다.
감사합니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7930 | 9년 전 | 437 | ||
| 7929 | 9년 전 | 366 | ||
| 7928 | 9년 전 | 456 | ||
| 7927 | 9년 전 | 368 | ||
| 7926 | 9년 전 | 679 | ||
| 7925 | 9년 전 | 391 | ||
| 7924 | 9년 전 | 376 | ||
| 7923 | 9년 전 | 371 | ||
| 7922 | 9년 전 | 403 | ||
| 7921 | 9년 전 | 418 | ||
| 7920 | 9년 전 | 337 | ||
| 7919 | 9년 전 | 346 | ||
| 7918 | 9년 전 | 499 | ||
| 7917 | 9년 전 | 353 | ||
| 7916 | 9년 전 | 435 | ||
| 7915 | 9년 전 | 435 | ||
| 7914 | 9년 전 | 448 | ||
| 7913 | 9년 전 | 621 | ||
| 7912 | 9년 전 | 454 | ||
| 7911 | 9년 전 | 388 | ||
| 7910 | 9년 전 | 435 | ||
| 7909 | 9년 전 | 536 | ||
| 7908 | 9년 전 | 471 | ||
| 7907 | 9년 전 | 413 | ||
| 7906 | 9년 전 | 427 | ||
| 7905 | 9년 전 | 402 | ||
| 7904 | 9년 전 | 387 | ||
| 7903 | 9년 전 | 384 | ||
| 7902 | 9년 전 | 583 | ||
| 7901 |
|
9년 전 | 761 | |
| 7900 | 9년 전 | 631 | ||
| 7899 | 9년 전 | 415 | ||
| 7898 | 9년 전 | 423 | ||
| 7897 | 9년 전 | 375 | ||
| 7896 | 9년 전 | 388 | ||
| 7895 | 9년 전 | 501 | ||
| 7894 | 9년 전 | 421 | ||
| 7893 | 9년 전 | 389 | ||
| 7892 | 9년 전 | 426 | ||
| 7891 | 9년 전 | 790 | ||
| 7890 | 9년 전 | 1223 | ||
| 7889 | 9년 전 | 759 | ||
| 7888 |
limsy1987
|
9년 전 | 569 | |
| 7887 | 9년 전 | 594 | ||
| 7886 | 9년 전 | 488 | ||
| 7885 | 9년 전 | 445 | ||
| 7884 | 9년 전 | 440 | ||
| 7883 | 9년 전 | 446 | ||
| 7882 | 9년 전 | 502 | ||
| 7881 | 9년 전 | 471 | ||
| 7880 | 9년 전 | 603 | ||
| 7879 | 9년 전 | 495 | ||
| 7878 | 9년 전 | 1260 | ||
| 7877 | 9년 전 | 789 | ||
| 7876 | 9년 전 | 524 | ||
| 7875 | 9년 전 | 601 | ||
| 7874 |
|
9년 전 | 824 | |
| 7873 | 9년 전 | 539 | ||
| 7872 | 9년 전 | 704 | ||
| 7871 | 9년 전 | 515 | ||
| 7870 | 9년 전 | 640 | ||
| 7869 | 9년 전 | 454 | ||
| 7868 | 9년 전 | 485 | ||
| 7867 | 9년 전 | 478 | ||
| 7866 | 9년 전 | 538 | ||
| 7865 | 9년 전 | 479 | ||
| 7864 | 9년 전 | 547 | ||
| 7863 | 9년 전 | 544 | ||
| 7862 | 9년 전 | 495 | ||
| 7861 | 9년 전 | 674 | ||
| 7860 | 9년 전 | 653 | ||
| 7859 | 9년 전 | 436 | ||
| 7858 | 9년 전 | 734 | ||
| 7857 | 9년 전 | 1120 | ||
| 7856 | 9년 전 | 555 | ||
| 7855 | 9년 전 | 780 | ||
| 7854 | 9년 전 | 742 | ||
| 7853 | 9년 전 | 625 | ||
| 7852 | 9년 전 | 549 | ||
| 7851 | 9년 전 | 539 | ||
| 7850 | 9년 전 | 614 | ||
| 7849 | 9년 전 | 386 | ||
| 7848 | 9년 전 | 456 | ||
| 7847 | 9년 전 | 696 | ||
| 7846 | 9년 전 | 486 | ||
| 7845 | 9년 전 | 454 | ||
| 7844 | 9년 전 | 426 | ||
| 7843 | 9년 전 | 459 | ||
| 7842 | 9년 전 | 439 | ||
| 7841 | 9년 전 | 414 | ||
| 7840 | 9년 전 | 428 | ||
| 7839 | 9년 전 | 467 | ||
| 7838 | 9년 전 | 535 | ||
| 7837 | 9년 전 | 380 | ||
| 7836 | 9년 전 | 429 | ||
| 7835 | 9년 전 | 503 | ||
| 7834 |
|
9년 전 | 1212 | |
| 7833 | 9년 전 | 469 | ||
| 7832 | 9년 전 | 452 | ||
| 7831 | 9년 전 | 603 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기