<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
이렇게 에러를 뿌려버립니다.
잘되는 소스코드가 있긴하나..
별 문제 없어보이는데 왜 안될까 싶네요..
만들어보신분 답변 부탁드립니다.
감사합니다.
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 430 | 19년 전 | 4123 | ||
| 429 | 19년 전 | 3319 | ||
| 428 | 19년 전 | 4140 | ||
| 427 | 19년 전 | 3487 | ||
| 426 | 19년 전 | 3110 | ||
| 425 | 19년 전 | 3423 | ||
| 424 | 19년 전 | 2448 | ||
| 423 | 19년 전 | 2873 | ||
| 422 | 19년 전 | 2362 | ||
| 421 | 19년 전 | 3717 | ||
| 420 | 19년 전 | 4751 | ||
| 419 | 19년 전 | 3822 | ||
| 418 |
|
19년 전 | 1758 | |
| 417 | 19년 전 | 2761 | ||
| 416 | 19년 전 | 2402 | ||
| 415 | 19년 전 | 2612 | ||
| 414 | 19년 전 | 4426 | ||
| 413 |
|
19년 전 | 2620 | |
| 412 | 19년 전 | 3062 | ||
| 411 |
|
19년 전 | 3000 | |
| 410 |
|
19년 전 | 3704 | |
| 409 |
|
19년 전 | 3650 | |
| 408 |
|
19년 전 | 1869 | |
| 407 | 19년 전 | 2241 | ||
| 406 | 19년 전 | 2804 | ||
| 405 | 19년 전 | 2472 | ||
| 404 | 19년 전 | 4322 | ||
| 403 | 19년 전 | 3312 | ||
| 402 |
NeoGenesis
|
19년 전 | 4110 | |
| 401 | 19년 전 | 2617 | ||
| 400 |
|
19년 전 | 2511 | |
| 399 | 19년 전 | 2970 | ||
| 398 | 19년 전 | 2504 | ||
| 397 | 19년 전 | 2798 | ||
| 396 | 19년 전 | 2502 | ||
| 395 | 19년 전 | 3204 | ||
| 394 | 19년 전 | 1746 | ||
| 393 | 19년 전 | 3004 | ||
| 392 | 19년 전 | 2281 | ||
| 391 | 19년 전 | 2187 | ||
| 390 | 19년 전 | 2298 | ||
| 389 | 19년 전 | 2656 | ||
| 388 | 19년 전 | 2200 | ||
| 387 | 19년 전 | 4493 | ||
| 386 |
|
19년 전 | 2699 | |
| 385 |
|
19년 전 | 2505 | |
| 384 | 19년 전 | 3038 | ||
| 383 | 19년 전 | 3071 | ||
| 382 | 19년 전 | 3122 | ||
| 381 |
|
19년 전 | 2646 | |
| 380 |
|
19년 전 | 3030 | |
| 379 | 19년 전 | 2556 | ||
| 378 | 19년 전 | 2224 | ||
| 377 | 19년 전 | 2788 | ||
| 376 | 19년 전 | 2476 | ||
| 375 |
|
19년 전 | 2573 | |
| 374 | 19년 전 | 3831 | ||
| 373 | 19년 전 | 3285 | ||
| 372 | 19년 전 | 5004 | ||
| 371 |
세은아빠2
|
19년 전 | 2425 | |
| 370 | 19년 전 | 4507 | ||
| 369 | 19년 전 | 3118 | ||
| 368 | 19년 전 | 2920 | ||
| 367 | 19년 전 | 3745 | ||
| 366 | 19년 전 | 2669 | ||
| 365 | 19년 전 | 3755 | ||
| 364 | 19년 전 | 4025 | ||
| 363 | 19년 전 | 3460 | ||
| 362 | 19년 전 | 3496 | ||
| 361 | 19년 전 | 4118 | ||
| 360 |
hwatta
|
19년 전 | 2377 | |
| 359 | 19년 전 | 5122 | ||
| 358 | 19년 전 | 3670 | ||
| 357 | 19년 전 | 2613 | ||
| 356 |
sdesign1s
|
20년 전 | 2294 | |
| 355 | 20년 전 | 2773 | ||
| 354 | 20년 전 | 3038 | ||
| 353 | 20년 전 | 2804 | ||
| 352 |
|
20년 전 | 5784 | |
| 351 |
|
20년 전 | 2720 | |
| 350 |
|
20년 전 | 4307 | |
| 349 |
hwatta
|
20년 전 | 2195 | |
| 348 | 20년 전 | 7319 | ||
| 347 | 20년 전 | 2423 | ||
| 346 | 20년 전 | 3517 | ||
| 345 | 20년 전 | 4323 | ||
| 344 | 20년 전 | 2662 | ||
| 343 | 20년 전 | 3930 | ||
| 342 | 20년 전 | 3080 | ||
| 341 | 20년 전 | 4109 | ||
| 340 |
|
20년 전 | 5161 | |
| 339 |
|
20년 전 | 4248 | |
| 338 | 20년 전 | 5895 | ||
| 337 | 20년 전 | 2054 | ||
| 336 |
|
20년 전 | 3343 | |
| 335 |
|
20년 전 | 3562 | |
| 334 |
|
20년 전 | 2957 | |
| 333 |
hwatta
|
20년 전 | 2459 | |
| 332 | 20년 전 | 4667 | ||
| 331 | 20년 전 | 2291 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기