카카오 링크 공유 에러 kakaolink://send?appkey=

애플리케이션(앱) ID : 321022

{template_id: 3140, template_args: {${IMAGE_WIDTH}: “400”,…},…}
argument_msg: {}
template_args: {${IMAGE_WIDTH}: “400”,…}
${ANDROID_EXECUTION_URL}: “”
${COMMENT_COUNT}: “”
${DESCRIPTION}: “”
${FIRST_BUTTON_ANDROID_EXECUTION_URL}: “”
${FIRST_BUTTON_IOS_EXECUTION_URL}: “”
${FIRST_BUTTON_MOBILE_WEB_URL}: “http://106.10.43.203/lounge/petcommunity-detail.do?id=20
${FIRST_BUTTON_TITLE}: “웹으로 보기”
${FIRST_BUTTON_WEB_URL}: “http://106.10.43.203/lounge/petcommunity-detail.do?id=20
${IMAGE_COUNT}: “1”
${IMAGE_HEIGHT}: “400”
${IMAGE_URL}: “http://k.kakaocdn.net/dn/bimMSB/bl2wyROPc81/RVncTmTaJqBwYgDOhdXSmk/kakaolink40_original.jpg
${IMAGE_WIDTH}: “400”
${IOS_EXECUTION_URL}: “”
${LIKE_COUNT}: “”
${MOBILE_WEB_URL}: “http://106.10.43.203/lounge/petcommunity-detail.do?id=20
${SECOND_BUTTON_ANDROID_EXECUTION_URL}: “”
${SECOND_BUTTON_IOS_EXECUTION_URL}: “”
${SECOND_BUTTON_MOBILE_WEB_URL}: “http://106.10.43.203/lounge/petcommunity-detail.do?id=20
${SECOND_BUTTON_TITLE}: “앱으로 보기”
${SECOND_BUTTON_WEB_URL}: “http://106.10.43.203/lounge/petcommunity-detail.do?id=20
${SHARED_COUNT}: “”
${SUBSCRIBER_COUNT}: “”
${TITLE}: “펫방 에디터 테스트 중”
${VIEW_COUNT}: “”
${WEB_URL}: "http://106.10.43.203/lounge/petcommunity-detail.do?id=20"
template_id: 3140
template_msg: {P: {TP: “Feed”, ME: “${ME}”, SID: “capri_321022”,…}, C: {THC: 1, THL: [{,…}],…}}
C: {THC: 1, THL: [{,…}],…}
P: {TP: “Feed”, ME: “${ME}”, SID: “capri_321022”,…}
DID: "http://106.10.43.203/lounge/petcommunity-detail.do?id=20"
FW: true
L: {LPC: “http://localhost:9080”, LMO: “http://localhost:9080”,…}
ME: "${ME}"
RF: "out-client"
SIC: "https://k.kakaocdn.net/14/dn/btqvX1CL6kz/sSBw1mbWkyZTkk1Mpt9nw1/o.jpg"
SID: "capri_321022"
SL: {LPC: “http://localhost:9080”, LMO: “http://localhost:9080”,…}
SNM: "junsungki.cigna@gmail.com"
TP: "Feed"
VA: "6.0.0"
VI: "5.9.8"
VM: "2.2.0"
VW: "2.5.1"
warning_msg: {,…}
P.L.LA: ". app does not have CUSTOM_MARKET_URL permission. get the permission or it will be dropped or changed."
P.L.LI: ". app does not have CUSTOM_MARKET_URL permission. get the permission or it will be dropped or changed."
P.LA: ". app does not have CUSTOM_MARKET_URL permission. get the permission or it will be dropped or changed."
P.LI: ". app does not have CUSTOM_MARKET_URL permission. get the permission or it will be dropped or changed."
P.SL.LA: ". app does not have CUSTOM_MARKET_URL permission. get the permission or it will be dropped or changed."
P.SL.LI: “. app does not have CUSTOM_MARKET_URL permission. get the permission or it will be dropped or changed.”

============

코드 입니다.
function uploadImage() {
var image_link = jQuery( ‘meta[property=“og:image”]’ ).attr( ‘content’ );

    Kakao.Link.scrapImage({
      imageUrl: image_link
    }).then(function(res){
      sendLink(res.infos.original.url);
    });
  }
  function sendLink(image_url) {
    var title = jQuery( 'meta[property="og:title"]' ).attr( 'content' );
    console.log('image_link', image_url);

    Kakao.Link.sendDefault({
      objectType: 'feed',
      content: {
        title: title,
        // description: '#케익 #딸기 #삼평동 #카페 #분위기 #소개팅',
        imageUrl: image_url,
        link: {
          mobileWebUrl: document.location.href,
          webUrl: document.location.href
        }
      },
      buttons: [
        {
          title: '웹으로 보기',
          link: {
            mobileWebUrl: document.location.href,
            webUrl: document.location.href
          }
        },
        {
          title: '앱으로 보기',
          link: {
            mobileWebUrl: document.location.href,
            webUrl: document.location.href
          }
        }
      ]
    });
  }

======

image

데스크톱 브라우저에서 DevTools > 모바일 디바이스로 변경 해서 확인 중이신가요?

네넵 크롬에서 모바일 디바이스로 변경해서 확인해보았고, 폰에서 확인해도 증상이 같았습니다. ㅠ
image

&appver=1.0&linkver=4.0&template_json=%7B%22P%22%3A%7B%22TP%22%3A%22Feed%22%2C%22ME%22%3A%22%24%7BME%7D%22%2C%22SID%22%3A%22capri_321022%22%2C%22DID%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%2C%22SNM%22%3A%22junsungki.cigna%40gmail.com%22%2C%22SIC%22%3A%22https%3A%2F%2Fk.kakaocdn.net%2F14%2Fdn%2FbtqvX1CL6kz%2FsSBw1mbWkyZTkk1Mpt9nw1%2Fo.jpg%22%2C%22L%22%3A%7B%22LPC%22%3A%22http%3A%2F%2Flocalhost%3A9080%22%2C%22LMO%22%3A%22http%3A%2F%2Flocalhost%3A9080%22%2C%22LCP%22%3A%22kakaocb9002b736ef4095047b0ff072176684%3A%2F%2Fkakaolink%22%2C%22LCM%22%3A%22kakaocb9002b736ef4095047b0ff072176684%3A%2F%2Fkakaolink%22%7D%2C%22SL%22%3A%7B%22LPC%22%3A%22http%3A%2F%2Flocalhost%3A9080%22%2C%22LMO%22%3A%22http%3A%2F%2Flocalhost%3A9080%22%2C%22LCP%22%3A%22kakaocb9002b736ef4095047b0ff072176684%3A%2F%2Fkakaolink%22%2C%22LCM%22%3A%22kakaocb9002b736ef4095047b0ff072176684%3A%2F%2Fkakaolink%22%7D%2C%22VA%22%3A%226.0.0%22%2C%22VI%22%3A%225.9.8%22%2C%22VW%22%3A%222.5.1%22%2C%22VM%22%3A%222.2.0%22%2C%22FW%22%3Atrue%2C%22RF%22%3A%22out-client%22%7D%2C%22C%22%3A%7B%22THC%22%3A1%2C%22THL%22%3A%5B%7B%22TH%22%3A%7B%22THU%22%3A%22http%3A%2F%2Fk.kakaocdn.net%2Fdn%2FcXoDhc%2Fbl2wAWo1v4L%2F4RdoXMTcHMtdCW025T4cDk%2Fkakaolink40_original.jpg%22%2C%22W%22%3A400%2C%22H%22%3A400%7D%2C%22L%22%3A%7B%22LPC%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%2C%22LMO%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%7D%7D%5D%2C%22TI%22%3A%7B%22TD%22%3A%7B%22T%22%3A%22%EA%B2%AC%EC%A2%85%EB%A7%88%EB%8B%A4%20%EB%8B%A4%EB%A5%B8%20%EA%B2%AC%EC%83%9D%EC%82%AC%EC%A7%84%20%EC%B0%8D%EB%8A%94%20%EB%85%B8%ED%95%98%EC%9A%B0%22%7D%2C%22L%22%3A%7B%22LPC%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%2C%22LMO%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%7D%7D%2C%22BUL%22%3A%5B%7B%22BU%22%3A%7B%22T%22%3A%22%EC%9B%B9%EC%9C%BC%EB%A1%9C%20%EB%B3%B4%EA%B8%B0%22%7D%2C%22L%22%3A%7B%22LPC%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%2C%22LMO%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%7D%7D%2C%7B%22BU%22%3A%7B%22T%22%3A%22%EC%95%B1%EC%9C%BC%EB%A1%9C%20%EB%B3%B4%EA%B8%B0%22%7D%2C%22L%22%3A%7B%22LPC%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%2C%22LMO%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%7D%7D%5D%7D%7D&template_args=%7B%22%24%7BIMAGE_WIDTH%7D%22%3A%22400%22%2C%22%24%7BSECOND_BUTTON_WEB_URL%7D%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%2C%22%24%7BSECOND_BUTTON_MOBILE_WEB_URL%7D%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%2C%22%24%7BIOS_EXECUTION_URL%7D%22%3A%22%22%2C%22%24%7BIMAGE_URL%7D%22%3A%22http%3A%2F%2Fk.kakaocdn.net%2Fdn%2FcXoDhc%2Fbl2wAWo1v4L%2F4RdoXMTcHMtdCW025T4cDk%2Fkakaolink40_original.jpg%22%2C%22%24%7BIMAGE_COUNT%7D%22%3A%221%22%2C%22%24%7BFIRST_BUTTON_TITLE%7D%22%3A%22%EC%9B%B9%EC%9C%BC%EB%A1%9C%20%EB%B3%B4%EA%B8%B0%22%2C%22%24%7BDESCRIPTION%7D%22%3A%22%22%2C%22%24%7BSHARED_COUNT%7D%22%3A%22%22%2C%22%24%7BANDROID_EXECUTION_URL%7D%22%3A%22%22%2C%22%24%7BFIRST_BUTTON_IOS_EXECUTION_URL%7D%22%3A%22%22%2C%22%24%7BFIRST_BUTTON_MOBILE_WEB_URL%7D%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%2C%22%24%7BCOMMENT_COUNT%7D%22%3A%22%22%2C%22%24%7BSECOND_BUTTON_IOS_EXECUTION_URL%7D%22%3A%22%22%2C%22%24%7BSUBSCRIBER_COUNT%7D%22%3A%22%22%2C%22%24%7BIMAGE_HEIGHT%7D%22%3A%22400%22%2C%22%24%7BTITLE%7D%22%3A%22%EA%B2%AC%EC%A2%85%EB%A7%88%EB%8B%A4%20%EB%8B%A4%EB%A5%B8%20%EA%B2%AC%EC%83%9D%EC%82%AC%EC%A7%84%20%EC%B0%8D%EB%8A%94%20%EB%85%B8%ED%95%98%EC%9A%B0%22%2C%22%24%7BSECOND_BUTTON_TITLE%7D%22%3A%22%EC%95%B1%EC%9C%BC%EB%A1%9C%20%EB%B3%B4%EA%B8%B0%22%2C%22%24%7BMOBILE_WEB_URL%7D%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%2C%22%24%7BFIRST_BUTTON_ANDROID_EXECUTION_URL%7D%22%3A%22%22%2C%22%24%7BVIEW_COUNT%7D%22%3A%22%22%2C%22%24%7BWEB_URL%7D%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%2C%22%24%7BLIKE_COUNT%7D%22%3A%22%22%2C%22%24%7BFIRST_BUTTON_WEB_URL%7D%22%3A%22http%3A%2F%2F106.10.53.33%2Flounge%2Fpetcommunity-news-detail.do%3Fid%3D12%22%2C%22%24%7BSECOND_BUTTON_ANDROID_EXECUTION_URL%7D%22%3A%22%22%7D&template_id=3140&extras=%7B%22KA%22%3A%22sdk%2F1.31.0%20os%2Fjavascript%20lang%2Fko-KR%20device%2FMacIntel%20origin%2Fhttp%253A%252F%252F106.10.53.33%22%7D
Referrer Policy: no-referrer-when-downgrade

User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1

appver: 1.0
linkver: 4.0
template_json: {“P”:{“TP”:“Feed”,“ME”:"${ME}",“SID”:“capri_321022”,“DID”:“http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12",“SNM”:“junsungki.cigna@gmail.com”,“SIC”:“https://k.kakaocdn.net/14/dn/btqvX1CL6kz/sSBw1mbWkyZTkk1Mpt9nw1/o.jpg”,“L”:{“LPC”:“http://localhost:9080”,“LMO”:“http://localhost:9080”,“LCP”:“kakaocb9002b736ef4095047b0ff072176684://kakaolink”,“LCM”:“kakaocb9002b736ef4095047b0ff072176684://kakaolink”},“SL”:{“LPC”:“http://localhost:9080”,“LMO”:“http://localhost:9080”,“LCP”:“kakaocb9002b736ef4095047b0ff072176684://kakaolink”,“LCM”:“kakaocb9002b736ef4095047b0ff072176684://kakaolink”},“VA”:“6.0.0”,“VI”:“5.9.8”,“VW”:“2.5.1”,“VM”:“2.2.0”,“FW”:true,“RF”:“out-client”},“C”:{“THC”:1,“THL”:[{“TH”:{“THU”:“http://k.kakaocdn.net/dn/cXoDhc/bl2wAWo1v4L/4RdoXMTcHMtdCW025T4cDk/kakaolink40_original.jpg”,“W”:400,“H”:400},“L”:{“LPC”:“http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12”,“LMO”:“http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12”}}],“TI”:{“TD”:{“T”:"견종마다 다른 견생사진 찍는 노하우”},“L”:{“LPC”:“http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12",“LMO”:“http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12”}},“BUL”:[{“BU”:{“T”:"웹으로 보기”},“L”:{“LPC”:“http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12",“LMO”:“http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12”}},{“BU”:{“T”:"앱으로 보기”},“L”:{“LPC”:“http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12",“LMO”:"http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12”}}]}}
template_args: {"${IMAGE_WIDTH}":“400”,"${SECOND_BUTTON_WEB_URL}":“http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12","${SECOND_BUTTON_MOBILE_WEB_URL}":“http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12”,"${IOS_EXECUTION_URL}":"","${IMAGE_URL}":“http://k.kakaocdn.net/dn/cXoDhc/bl2wAWo1v4L/4RdoXMTcHMtdCW025T4cDk/kakaolink40_original.jpg”,"${IMAGE_COUNT}":“1”,"${FIRST_BUTTON_TITLE}":"웹으로 보기”,"${DESCRIPTION}":"","${SHARED_COUNT}":"","${ANDROID_EXECUTION_URL}":"","${FIRST_BUTTON_IOS_EXECUTION_URL}":"","${FIRST_BUTTON_MOBILE_WEB_URL}":“http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12","${COMMENT_COUNT}":"","${SECOND_BUTTON_IOS_EXECUTION_URL}":"","${SUBSCRIBER_COUNT}":"","${IMAGE_HEIGHT}":“400”,"${TITLE}":"견종마다 다른 견생사진 찍는 노하우”,"${SECOND_BUTTON_TITLE}":“앱으로 보기”,"${MOBILE_WEB_URL}":“http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12","${FIRST_BUTTON_ANDROID_EXECUTION_URL}":"","${VIEW_COUNT}":"","${WEB_URL}":“http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12”,"${LIKE_COUNT}":"","${FIRST_BUTTON_WEB_URL}":“http://106.10.53.33/lounge/petcommunity-news-detail.do?id=12”,"${SECOND_BUTTON_ANDROID_EXECUTION_URL}":"”}
template_id: 3140
extras: {“KA”:“sdk/1.31.0 os/javascript lang/ko-KR device/MacIntel origin/http%3A%2F%2F106.10.53.33”}

디바이스와 다르게 user agent가 변경되는 환경(데스크톱 브라우저 > 모바일 모드)을 지원하지 않고 있습니다.
SDK에서 user agent를 기준으로 디바이스를 판단하고 디바이스에 맞는 동작을 하고 있기 때문입니다.

사용자 이벤트를 받는 코드 + 함수를 호출하는 코드 또는
접근가능한 사이트URL을 알려주시면 원인 파악에 도움이 될 것 같아요.

http://106.10.53.33/lounge/petcommunity-news-detail.do?id=14 접근 가능한 사이트 입니다.
웹에는 아직 안붙어있고, 모바일로 확인

<button onclick="uploadImage()" id="kakao-link-btn" class="floating-button"><img src="<@spring.url '/assets/images/ico-share-kakao.png' />"></button>
<script src="//developers.kakao.com/sdk/js/kakao.min.js"></script>




    Kakao.init('키');
  function uploadImage() {
    var image_link = jQuery( 'meta[property="og:image"]' ).attr( 'content' ); 
Kakao.Link.scrapImage({
          imageUrl: image_link
        }).then(function(res){
          sendLink(res.infos.original.url);
        });
      }
      function sendLink(image_url) {
        var title = jQuery( 'meta[property="og:title"]' ).attr( 'content' );
        console.log('image_link', image_url);

    Kakao.Link.sendDefault({
      objectType: 'feed',
      content: {
        title: title,
        // description: '#케익 #딸기 #삼평동 #카페 #분위기 #소개팅',
        imageUrl: image_url,
        link: {
          mobileWebUrl: document.location.href,
          webUrl: document.location.href
        }
      },
      buttons: [
        {
          title: '웹으로 보기',
          link: {
            mobileWebUrl: document.location.href,
            webUrl: document.location.href
          }
        },
        {
          title: '앱으로 보기',
          link: {
            mobileWebUrl: document.location.href,
            webUrl: document.location.href
          }
        }
      ]
    });
  }

감사합니다. ㅠ

아래 화면에서 공유했을 때 잘 전송되는 것을 확인했는데요. (안드로이드 크롬 브라우저에서 확인했어요.)

어떤 환경에서 안되시는 것인지 알 수 있을까요?

KakaoTalk_Photo_2019-07-10-13-36-54

KakaoTalk_Photo_2019-07-10-13-36-50

저는 맥북 크롬 브라우져(모바일 모드), 아이폰6 사파리 브라우져로 테스트 했었어요~

아이폰6 사파리 브라우저도 정상동작 확인했어요.
해당 브라우저에서 공유 버튼 클릭 시 반응이 없는 건가요?
톡이 설치된 환경인지도 확인 부탁드릴게요.

휴대폰 모드로 웹에서 테스트를 해서 에러가 났었던 것 같아요. 폰에서 하니 됩니다. ^ㅡ^ 감사합니다.

2개의 좋아요

위 이슈와 관련은 없는데요.
앱 이름을 서비스에 맞게 변경 부탁드립니다. :grinning:

감사합니다.