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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Livesense Inc.
PRO
April 23, 2014
Technology
85
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
Transcript
14 slides
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界隈の人たちの「一般常識」に なってきてる。
次回
More Decks by Livesense Inc.
See All by Livesense Inc.
新規商品の開発におけるAIの活用 〜挑戦は人間にしかできない〜
livesense
PRO
0
34
味覇で作るパスタが美味い - 20261001_yabaubuki.dev
livesense
PRO
0
210
Rubyはただの⾔語に⾮ず
livesense
PRO
0
620
28新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
190
27新卒_総合職採用_会社説明資料
livesense
PRO
0
7.9k
27新卒_Webエンジニア職採用_会社説明資料
livesense
PRO
0
13k
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
PRO
0
620
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
PRO
1
1.8k
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
750
Other Decks in Technology
See All in Technology
コピーオンライト型ファイルシステムと ランダム書き込み
sat
PRO
2
140
AWS DevOps Agentの構造から読み解く運用 AI エージェントの設計原則/aws-devops-agent-design-principles
tomoki10
0
280
ブース設計、 お前もプロダクトだったのか / So Booth Design Was a Product All Along
akihiro0038
0
150
Agent Routerで作るマルチテナント 推論基盤 #CNDW2026 / Building Multi-Tenant Inference Platform with Agent Router #CNDW2026
everpeace
5
600
セキュリティチームは どのコンテナイメージの脆弱性対応を優先すべきか 〜CISA新指針とSCCで作る脆弱性トリアージ〜
swdtkuy
0
330
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
1
660
技術書典で本を売る流れ
yoshimura_datam
0
130
成長するID管理基盤における運用もコストも犠牲にしないオブザーバビリティ向上の実践 / Improving Observability for a Growing Identity Platform Without Adding Operational Burden or Cost
kaminashi
1
130
専門家に使ってもらうAIプロダクトをつくる - 病院の医事課向けDPCコーディング支援システムの設計と評価
hagino3000
4
1k
[DBRE Summit 26] DBRE はデータベース運用をどう変えたのか
_awache
0
130
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
440
お風呂場をサーバルームにしよう
yusuke427
0
400
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Site-Speed That Sticks
csswizardry
13
1.6k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
490
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
860
The Limits of Empathy - UXLibs8
cassininazir
2
800
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Statistics for Hackers
jakevdp
799
230k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.5k
The Art of Programming - Codeland 2020
erikaheidi
57
15k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
990
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k