답변 4개
채택된 답변
+20 포인트
답변에 대한 댓글 1개
�
은아흐르는별
6년 전
음..ㅜ아닙니다..파비콘은 따로 있는데 그걸로 가져오질 않던데요..?아미나 그..디폴트 이미지로 나오더라구요..
댓글을 작성하려면 로그인이 필요합니다.
6년 전
오픈그래프 활용하셔야 됩니다
사이트 head태그 안에
<meta property="og:title" content="제목">
<meta name="description" content="내용" >
<meta property="og:image" content="이미지주소">
이런식으로 넣으셔야 링크 시 반영됩니다
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
6년 전
meta 부분에 강제로 추가하는 코드입니다.
id=""는 원하시는데로 변경해서 사용가능합니다.
</p>
<p><input type="hidden" name="" id="wBlogTitle" value="게시물제목">
<input type="hidden" name="" id="wBlogURL" value="바로가기링크">
<input type="hidden" name="" id="wBlogDescription" value="컨텐츠설명">
<input type="hidden" name="" id="wBlogImage" value="이미지URL"></p>
<p><script>
$("meta[property='og\\:title']").attr("content", $("#wBlogTitle").val() );
$("meta[property='og\\:url']").attr("content", $("#wBlogURL").val() );
$("meta[property='og\\:description']").attr("content", $("#wBlogDescription").val() );
$("meta[property='og\\:image']").attr("content", $("#wBlogImage").val() );
</script></p>
<p>
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인