카카오 링크 SendDefault 에서 content 에서
feed type 으로 설정후 content에 imageUrl에 이미지주소를 넘겨도 카카오톡으로 보낼때 이미지가 보내지지 않습니다.
브라우저 콘솔로 이미지 주소 가져오는지 확인 해 봤을때는 문제없이 가져오고 있습니다.
아래와 같이 소스 사용하고 있습니다.
Kakao.Link.sendDefault({
objectType: "feed",
content: {
title: news.title,
imageUrl: $("meta[name$='image']").attr("content"), // 이미지 주소
link: {
webUrl: location.href,
mobileWebUrl: location.href
}
},
buttons: [
{
title: '웹으로 이동',
link: {
webUrl: location.href,
mobileWebUrl: location.href
}
}
]
});