狠狠撸

狠狠撸Share a Scribd company logo
Typetalk APIを使った
Chrome拡張開発ノウハウ #1
@shoito
http://about.me/shoito
Typetalk Hack Tokyo
Typetalk Noti?cations
ここにハマった
http://developers.typetalk.in/oauth_ja.html
Chrome Identify API
https://developer.chrome.com/extensions/app_identity
Chrome Identify API
Redirect URI
https://
<extension-id>.chromiumapp.org/<anything-here>
https://
abcdefghijklmnopqrstuvwxyzabcdef.chromiumapp.org/
provider_cb
Extension ID
? Chromeウェブストア公開用
? egjiljalbhkekpkkhfoehleeepecnnbo
? 開発用(Chromeの数分)
? Chrome on MacBook Air
? bkojfgfhiecdpbhfoonakkbcpkglbnbn
? Chrome on ...
Typetalkアプリケーション登録
https://typetalk.in/my/develop/applications
dev/production
dev/production用のClient IDとClient Secretは .env.json に外出し
? https://github.com/shoito/typetalk-noti?cations/blob/master/app/scripts/
background.js#L3-L4
? https://github.com/shoito/typetalk-noti?cations/blob/master/.env.json#L1-L10
? https://github.com/shoito/typetalk-noti?cations/blob/master/Grunt?le.js#L27-L29
? https://github.com/shoito/typetalk-noti?cations/blob/master/Grunt?le.js#L278-L307
Typetalk APIを使ったChrome拡張の開発ノウハウ
http://qiita.com/shoito/items/2a15b6a1d4ed8f08d8d8
http://about.me/shoito

More Related Content

Typetalk APIを使ったChrome拡張開発ノウハウ #1