Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
知っているようで知らないOGPの書き方
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
もなか
October 23, 2021
Technology
410
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
知っているようで知らないOGPの書き方
2021年10月16日㈯に、もりけん塾の勉強会で登壇した際に使用したスライドです。
もなか
October 23, 2021
More Decks by もなか
See All by もなか
辛いコードを甘くするカリー化のレシピ
443n0511
0
770
Other Decks in Technology
See All in Technology
kintoneで在庫管理システムを作るときの要件定義・設計ポイント
kai0707
0
230
AX時代の自治体支援リソース再配分と役割分担の再構成:戦略とロードマップ(概要)
sishi2026
0
190
"AWSはちょっと苦手"でも大丈夫。AWS Blocks で手軽に作る Flutter のバックエンド #FlutterKaigi
tacck
PRO
0
130
AIに任せられるFlutterコードベースを作る 〜仕様をコードで表し、ハーネスで守る〜
myohei
1
630
Flutter Widget Previewerで始めるUIプレビューとVRTの自動化
sakusaku3939
0
200
20261031_IoTLT_vol140_kitazaki_v1.pdf
kitazaki
0
160
AI時代のエンジニアの情報発信〜個人の発信を組織の力に変える〜
ryo_kawamata
1
7.2k
なぜ東京にいる私が、新潟の技術コミュニティを運営するのか by 八雲慎之助
yakumo
0
220
eBPF 簡介 2026 版
shunghsiyu
0
170
AIがGISを代替する日:〜すべてをAIが創る時代に、私たちがFOSS4Gに関わる意味〜
lehupa
0
210
渡米前の準備を制す!re:Invent 2026徹底準備術 / The Ultimate Preparation Guide for re:Invent 2026
yuj1osm
1
530
クラウドエージェントの先駆け Devin。今も最先端を走る、他との違い
kinopeee
2
560
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
6.3k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
320
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
780
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
550
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
300
The World Runs on Bad Software
bkeepers
PRO
72
12k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
440
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Making the Leap to Tech Lead
cromwellryan
135
10k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Transcript
知っているようで知らない OGPの書き方 もりけん塾勉強会
自己紹介 OGP is 何? OGPをしないとどうなる? OGPを使うには まとめ 1. 2. 3.
4. 5. アジェンダ
自己紹介
自己紹介 もなか@js 詰まったらパン作る人 ソフトウェア開発会社でテスター兼コーダーとして勤務 パンを焼くのが好き ▶Twitter:@ruby443n
OGP is 何?
OGPとは? "The Open Graph protocol enables any web page to
become a rich object in a social graph." 任意のWebページをソーシャルグラフ内のリッチオブジェクトにすることを可能 にするものです。 ”The Open Graph protocol was originally created at Facebook” もともとFacebookで生まれたものです。 公式サイト https://ogp.me/#metadata より
これ
OGPをしないとどうなる?
OGP設定しないとこうなる 中身がわからないからリンクを押しずらい
OGP設定するとこうなる 中身がわかるからリンクを押したくなる
結論:絶対設定するべき
OGPをつかうには
OGP基本設定 こちらを<head>タグ内に設置
OGP基本設定”og:title” サイトのタイトルを指定 og:titleに<title>タグと別の言 葉を設定すると、そちらが優先 して表示される。 文字数は20文字以内が適切。
OGP基本設定”og:url” WEBページのURLを指定 URLは相対パスではなく絶対 パスで記述
OGP基本設定”og:type” website: WebサイトTOPページ blog: ブログTOPページ article: 記事ページ等のページ product: 製品紹介ページ
OGP基本設定”og:description” 60〜80文字の概要説明を設定
OGP基本設定”og:image” シェア時に表示する画像を指定 こちらも絶対パスで指定 基本サイズは幅1200px高さ630px
OGP画像シュミレーターが便利
OGP画像シュミレーターが便利
Twitter用設定"twitter:card" summary_large_image summary
Twitter用設定"twitter:card" player ビデオやオーディオなどのメディアを表示できるカード app アプリ配布用の表示カード。 アプリの名前や紹介文、アプリアイコンに加えて、評価や 価格などの表示もされる。
Facebook用設定"fb:app_id" Facebookインサイトを使 ってトラフィックの分析を 行うことができる。 Facebook for Developers の登録が必要
まとめ
OGP、ちゃんと設定して クリック率をのばそう!
OGPを設定するメリット SNSでクリックされやすい 画像が表示されることでタイムラインの専有 面積が大きくなる
OGPを設定するメリデメ
OGPを設定するデメリット 設定するのちょっとめんどくさい
自己紹介 OGP is 何? OPPをしないとどうなる? OGPを設定するメリデメ OGPを使うには まとめ 1. 2.
3. 4. 5. 6. アジェンダ