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
Graph API #TechLunch
Search
Livesense Inc.
PRO
April 23, 2014
Technology
84
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Graph API #TechLunch
2012/01/11(水) @ Livesense TechLunch
発表者:島田 喜裕
Livesense Inc.
PRO
April 23, 2014
More Decks by Livesense Inc.
See All by Livesense Inc.
Rubyはただの⾔語に⾮ず
livesense
PRO
0
530
28新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
120
27新卒_総合職採用_会社説明資料
livesense
PRO
0
7.2k
27新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
12k
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
PRO
0
550
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
PRO
1
1.8k
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
690
26新卒_総合職採用_会社説明資料
livesense
PRO
0
13k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
PRO
2
75k
Other Decks in Technology
See All in Technology
AI coding 整合正規方法
philipz
0
450
すぐできる衛星通信対応 あとは山奥に行くだけ
tatetate55
0
140
30座EKS, 180次升級淬煉的EKS Upgrade Skill 的歷程
eric8230
0
210
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
2
1.5k
SREへの勘違いに気づいた後の話
tomodakengo
0
130
GoのInterface内部構造から学ぶ!最高パフォーマンスを出すコード設計
yappli_developers
1
250
アプリログインとWeb認証基盤をつなぐ ASWebAuthenticationSession 作法
shimastripe
1
370
AIに任せた品質は、誰が見立てるのか - AI時代のテストマネジメント
nakanao
3
2.7k
Antigravity SDK for the Java Developer
glaforge
0
170
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
260
What the customer really needed
kawaguti
PRO
3
220
AIを活用するために決めた "やらないこと" - 価値に注目する / Not betting on AI
soudai
PRO
3
570
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
19k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.8k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
360
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
sira's awesome portfolio website redesign presentation
elsirapls
0
420
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
280
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
340
Faster Mobile Websites
deanohume
310
32k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
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界隈の人たちの「一般常識」に なってきてる。
次回