Your SlideShare is downloading. ×
Typetalk APIを使ったChrome拡張開発ノウハウ #1
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

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

553
views

Published on

紹介するノウハウ …

紹介するノウハウ
・Typetalkアプリケーションの認証
・chrome.identify API
・Typetalkアプリケーションの登録(開発/本番)
・dev/productionのClient ID/Secretの管理


0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
553
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
1
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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