<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
이렇게 에러를 뿌려버립니다.
잘되는 소스코드가 있긴하나..
별 문제 없어보이는데 왜 안될까 싶네요..
만들어보신분 답변 부탁드립니다.
감사합니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 230 | 20년 전 | 2092 | ||
| 229 | 20년 전 | 3149 | ||
| 228 | 20년 전 | 3343 | ||
| 227 | 20년 전 | 2417 | ||
| 226 | 20년 전 | 5497 | ||
| 225 | 20년 전 | 2539 | ||
| 224 | 20년 전 | 2981 | ||
| 223 | 20년 전 | 4217 | ||
| 222 | 20년 전 | 2614 | ||
| 221 | 20년 전 | 2302 | ||
| 220 | 20년 전 | 3690 | ||
| 219 | 20년 전 | 2086 | ||
| 218 | 20년 전 | 3588 | ||
| 217 | 20년 전 | 2497 | ||
| 216 | 20년 전 | 2936 | ||
| 215 | 20년 전 | 2245 | ||
| 214 | 20년 전 | 3353 | ||
| 213 | 20년 전 | 2934 | ||
| 212 | 20년 전 | 3075 | ||
| 211 | 20년 전 | 2163 | ||
| 210 | 20년 전 | 1932 | ||
| 209 | 20년 전 | 2383 | ||
| 208 | 20년 전 | 2011 | ||
| 207 | 20년 전 | 1693 | ||
| 206 | 20년 전 | 1867 | ||
| 205 | 20년 전 | 3965 | ||
| 204 | 20년 전 | 1685 | ||
| 203 | 20년 전 | 2026 | ||
| 202 | 20년 전 | 2369 | ||
| 201 | 20년 전 | 1843 | ||
| 200 | 20년 전 | 2973 | ||
| 199 | 20년 전 | 2015 | ||
| 198 | 20년 전 | 2099 | ||
| 197 | 20년 전 | 3671 | ||
| 196 | 20년 전 | 3011 | ||
| 195 | 20년 전 | 2121 | ||
| 194 | 20년 전 | 10274 | ||
| 193 | 20년 전 | 2265 | ||
| 192 | 20년 전 | 1617 | ||
| 191 | 20년 전 | 2681 | ||
| 190 | 20년 전 | 2301 | ||
| 189 | 20년 전 | 1702 | ||
| 188 | 20년 전 | 1504 | ||
| 187 | 20년 전 | 1925 | ||
| 186 | 20년 전 | 1752 | ||
| 185 | 20년 전 | 1798 | ||
| 184 | 20년 전 | 2382 | ||
| 183 | 20년 전 | 1593 | ||
| 182 | 20년 전 | 1500 | ||
| 181 | 20년 전 | 1641 | ||
| 180 | 20년 전 | 2739 | ||
| 179 | 20년 전 | 1827 | ||
| 178 | 20년 전 | 1877 | ||
| 177 | 20년 전 | 2003 | ||
| 176 | 20년 전 | 1812 | ||
| 175 | 20년 전 | 1881 | ||
| 174 | 20년 전 | 1714 | ||
| 173 | 20년 전 | 2072 | ||
| 172 | 20년 전 | 1796 | ||
| 171 | 20년 전 | 2580 | ||
| 170 | 20년 전 | 2299 | ||
| 169 | 20년 전 | 2575 | ||
| 168 | 20년 전 | 1513 | ||
| 167 | 20년 전 | 1600 | ||
| 166 | 20년 전 | 2174 | ||
| 165 | 20년 전 | 1661 | ||
| 164 | 20년 전 | 3792 | ||
| 163 | 20년 전 | 2689 | ||
| 162 | 20년 전 | 2111 | ||
| 161 | 20년 전 | 2820 | ||
| 160 | 20년 전 | 1756 | ||
| 159 | 20년 전 | 1635 | ||
| 158 | 20년 전 | 2588 | ||
| 157 | 20년 전 | 1515 | ||
| 156 | 20년 전 | 1776 | ||
| 155 | 20년 전 | 3251 | ||
| 154 | 20년 전 | 1922 | ||
| 153 | 20년 전 | 1639 | ||
| 152 | 20년 전 | 4976 | ||
| 151 | 20년 전 | 4597 | ||
| 150 | 20년 전 | 3540 | ||
| 149 | 20년 전 | 3816 | ||
| 148 | 20년 전 | 7101 | ||
| 147 | 20년 전 | 3569 | ||
| 146 | 20년 전 | 2649 | ||
| 145 | 20년 전 | 2641 | ||
| 144 | 20년 전 | 7178 | ||
| 143 | 20년 전 | 4623 | ||
| 142 | 20년 전 | 1911 | ||
| 141 | 20년 전 | 3266 | ||
| 140 | 20년 전 | 1989 | ||
| 139 | 20년 전 | 1616 | ||
| 138 | 20년 전 | 2332 | ||
| 137 | 20년 전 | 1806 | ||
| 136 | 20년 전 | 1473 | ||
| 135 | 20년 전 | 1813 | ||
| 134 | 20년 전 | 2991 | ||
| 133 | 20년 전 | 2473 | ||
| 132 | 20년 전 | 1719 | ||
| 131 | 20년 전 | 1666 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기