Open Graph protocol
Facebook에 공유되는 YouTube 페이지 미리보기 캡쳐 화면
<head>
    <title>Facebook에 공유되는 YouTube 페이지 메타데이터</title>
    ...
    <meta property="og:url" content="https://www.youtube.com">
    <meta property="og:title" content="YouTube">
    <meta property="og:type" content="website">
    <meta property="og:description" content="Enjoy the videos and music you love...">
    <meta property="og:image" content="https://www.youtube.com/img/desktop/yt_1200.png">
    ...
</head>
<!-- 미리보기 이미지를 클릭하면 공유된 링크 URL  -->
<meta property="og:url" content="https://www.example.com">

<!-- 공유될 때 표시될 웹 페이지 제목  -->
<meta property="og:title" content="웹 페이지 제목">

<!-- 공유될 웹 페이지 유형  -->
<meta property="og:type" content="website">

<!-- 공유될 때 표시될 웹 페이지 설명  -->
<meta property="og:description" content="웹 페이지 설명">

<!-- 공유될 때 표시될 썸네일 이미지 URL  -->
<!-- 권장되는 이미지 사이즈: 1200x630px -->
<meta property="og:image" content="https://www.example.com/image.jpg">
<!DOCTYPE html>
<html lang="ko" prefix="og: https://ogp.me/ns#">
    <head>
        <meta charset="utf-8">
        <title>오픈 그래프 프로토콜 기본 구조</title>
        <meta property="og:url" content="https://www.example.com">
        <meta property="og:title" content="웹 페이지 제목">
        <meta property="og:type" content="website">
        <meta property="og:description" content="웹 페이지 설명">
        <meta property="og:image" content="https://www.example.com/image.jpg">
        ...
    </head>
    <body>
        <h1>오픈 그래프 프로토콜 기본 구조</h1>
        <p>
            이 웹 페이지는
            오픈 그래프 프로토콜을 사용하여
            소셜 미디어 공유를 최적화합니다.
        </p>
    </body>
</html>
<html lang="ko" prefix="og: https://ogp.me/ns#">
<meta property="og:locale" content="ko_KR">
<meta property="og:site_name" content="사이트 이름">
<meta property="og:audio" content="https://www.example.com/audio.mp3">
<meta property="og:video" content="https://www.example.com/video.mp4">
<meta property="og:type" content="[유형 코드]">
<meta property="og:type" content="article">
<meta property="og:title" content="인공지능 기술, 우리 삶을 어떻게 변화시킬까?">
<meta property="og:description" content="최근 인공지능 기술의 발전...">
<meta property="article:author" content="홍길동">
<meta property="article:published_time" content="2024-05-19">
<meta property="article:section" content="IT/과학">
<meta property="og:type" content="website">
<meta property="og:type" content="video.other">
<meta property="og:title" content="[동영상 제목]">
<meta property="og:description" content="[동영상 요약]">
<meta property="og:image" content="[썸네일 이미지 URL]">
<meta property="og:url" content="[동영상 URL]">
<meta property="og:video" content="[동영상 파일 URL]">
<meta property="og:video:width" content="1280">
<meta property="og:video:height" content="720">
<meta property="og:type" content="book">
<meta property="og:title" content="[작가 이름] - [도서 제목]">
<meta property="og:description" content="도서 간략 요약...">
<meta property="og:image" content="[도서 표지 이미지 URL]">
<meta property="og:url" content="[도서 정보 페이지 URL]">
<meta property="book:author" content="[작가 이름]">
<meta property="book:isbn" content="9788954614367">
<meta property="og:type" content="profile">
<meta property="og:title" content="홍길동">
<meta property="og:description" content="웹 개발자, 인공지능 기술에 관심이...">
<meta property="og:image" content="[프로필 사진 URL]">
<meta property="og:url" content="[프로필 페이지 URL]">
<meta property="profile:first_name" content="길동">
<meta property="profile:last_name" content="홍">
<meta property="profile:gender" content="male">