- 크롤러가 웹사이트 OGTag 를 크롤링하여 미리보기 화면 생성
<head>
내에서 <meta>
태그를 추가하여 지정한다.
- 기본 메타데이터
og:title
: 표시할 제목
og:type
: object 타입
og:image
: 미리보기 대표 이미지 URL
og:url
: 정식 URL. 그래피의 영구적인 ID 로 사용
- optional 메타데이터
og:description
: object 설명 (1~2 문장)
og:locale
: tag locale 정보
- 그외 참고
- ex)
<head>
......
<meta property="og:title" content="test"/>
<meta property="og:type" content="article"/>
<meta property="og:url" content="http://velog.io/anjinwoong"/>
<meta property="og:description" content="OGTag preview post"/>
<meta property="og:image" content="http://img.jpg"/>
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="627" />
......
</head>
reference