Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Graph API #TechLunch
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Livesense Inc.
April 23, 2014
Technology
0
75
Graph API #TechLunch
2012/01/11(水) @ Livesense TechLunch
発表者:島田 喜裕
Livesense Inc.
April 23, 2014
Tweet
Share
More Decks by Livesense Inc.
See All by Livesense Inc.
27新卒_総合職採用_会社説明資料
livesense
0
3.5k
27新卒_Webエンジニア職採用_会社説明資料
livesense
0
7.7k
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
0
270
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
1
1.7k
データ基盤の負債解消のためのリプレイス
livesense
0
570
26新卒_総合職採用_会社説明資料
livesense
0
13k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
2
57k
26新卒_Webエンジニア職採用_会社説明資料
livesense
1
13k
中途セールス職_会社説明資料
livesense
0
300
Other Decks in Technology
See All in Technology
GitHub Copilot CLI で Azure Portal to Bicep
tsubakimoto_s
0
190
品質を経営にどう語るか #jassttokyo / Communicating the Strategic Value of Quality to Executive Leadership
kyonmm
PRO
3
1.2k
Change Calendarで今はOK?を仕組みにする
tommy0124
1
100
夢の無限スパゲッティ製造機 #phperkaigi
o0h
PRO
0
360
Phase02_AI座学_応用
overflowinc
0
2.8k
How to install a gem
indirect
0
1.4k
「コントロールの三分法」で考える「コト」への向き合い方 / phperkaigi2026
blue_goheimochi
0
150
「捨てる」を設計する
kubell_hr
0
240
BFCacheを活用して無限スクロールのUX を改善した話
apple_yagi
0
120
【社内勉強会】新年度からコーディングエージェントを使いこなす - 構造と制約で引き出すClaude Codeの実践知
nwiizo
24
12k
形式手法特論:SMT ソルバで解く認可ポリシの静的解析 #kernelvm / Kernel VM Study Tsukuba No3
ytaka23
1
790
スピンアウト講座06_認証系(API-OAuth-MCP)入門
overflowinc
0
1.1k
Featured
See All Featured
Between Models and Reality
mayunak
2
240
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
Un-Boring Meetings
codingconduct
0
240
Designing for humans not robots
tammielis
254
26k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
93
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
Crafting Experiences
bethany
1
93
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
250
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Making Projects Easy
brettharned
120
6.6k
Transcript
Graph API January 11, 2012
Graph APIとは? • SNS上での「つながり」をあらわすソーシャルグ ラフにアクセスするためのAPI。 • Graph APIを使うことで、ソーシャルグラフ内の オブジェクトの検索・投稿・削除ができます。
手順 • アプリケーションの登録 • 認証 a. アクセストークンを入手 b. 各種APIにアクセス
OAuth • OAuthとは? ◦ あらかじめ信頼関係を構築したサービス間で ユーザの同意のもとにセキュアにユーザの 権限を受け渡しする「認可情報の委譲」のた めの仕様です。 ◦ 開発者もユーザも利点がある。
OAuth用語 • Service Provider ◦ ユーザの認可情報を第三者に渡すサービス • Consumer ◦ Webサイトやアプリケーション
• User ◦ ユーザ
OAuthの認証フロー 1. リクエストトークン取得 2. Userによる認可リクエスト 3. アクセストークンの取得 4. APIアクセス イメージ画像
2つのOAuth • OAuthには1.0と2.0があってサービスによって 使用しているバージョンが異なる。 • 2.0ではプロセスがシンプル化され、開発者に とって扱いやすいようになっている。 OAtuh 1.0a OAuth
2.0 Twitter LinkedIn Facebook mixi
1.0と2.0の違い 1.0 2.0
mixi • 必要なもの 1. サービス登録 ◦ Consumer keyとConsumer secretを発行 2.
認可されたアクセストークンの取得
None
転職会議 × mixi mixi Graph APIで転職会議から、mixiボ イスにつぶやきを投稿。
転職会議 × mixi 実装
まとめ • OAuth 2.0のほうはプロセスも分かりやすく1.0と 比べると実装も楽。 • FacebookやTwitter連携が当然になってきた昨 今、OAuthはWeb界隈の人たちの「一般常識」に なってきてる。
次回