Submit Search
Upload
mastodon API
•
0 likes
•
762 views
treby
Follow
@ Shinjuku.rb #49 https://shinjukurb.connpass.com/event/56695/
Read less
Read more
Technology
Report
Share
Report
Share
1 of 16
Download now
Download to read offline
Recommended
SharePoint Saturday Lisbon 2017 - SharePoint Framework, Angular & Azure Funct...
SharePoint Saturday Lisbon 2017 - SharePoint Framework, Angular & Azure Funct...
Sébastien Levert
或るWebサービス開発のこれから - "オープンWebサービス"という妄想 -
或るWebサービス開発のこれから - "オープンWebサービス"という妄想 -
Kei Shiratsuchi
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Kevin Hoffman
Impression of Rails 3
Impression of Rails 3
Kosuke Matsuda
Ruby on Rails - UNISO
Ruby on Rails - UNISO
Lucas Renan
Palestra node.js
Palestra node.js
Suissa
Node
Node
Timothy Strimple
Phantom js quick start
Phantom js quick start
ji guang
Recommended
SharePoint Saturday Lisbon 2017 - SharePoint Framework, Angular & Azure Funct...
SharePoint Saturday Lisbon 2017 - SharePoint Framework, Angular & Azure Funct...
Sébastien Levert
或るWebサービス開発のこれから - "オープンWebサービス"という妄想 -
或るWebサービス開発のこれから - "オープンWebサービス"という妄想 -
Kei Shiratsuchi
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Building a Line of Business Enterprise Web App with Play, Scala, and Akka
Kevin Hoffman
Impression of Rails 3
Impression of Rails 3
Kosuke Matsuda
Ruby on Rails - UNISO
Ruby on Rails - UNISO
Lucas Renan
Palestra node.js
Palestra node.js
Suissa
Node
Node
Timothy Strimple
Phantom js quick start
Phantom js quick start
ji guang
Build your own RasPiTV with Node.js & Socket.io
Build your own RasPiTV with Node.js & Socket.io
Donald Derek Haddad
What a web developer would like to have…
What a web developer would like to have…
Giovanni Costagliola
Pokelabo flash 2013/4
Pokelabo flash 2013/4
Shota Suzuki
海纳百川,有容乃大
海纳百川,有容乃大
hujinpu
귀 Rails의 JS는 안녕하십니까?
귀 Rails의 JS는 안녕하십니까?
Cheon Park
Kickstarter Your Node.JS Application
Kickstarter Your Node.JS Application
Hengki Sihombing
Web workers and service workers
Web workers and service workers
Nitish Phanse
The Web Becomes Graceful
The Web Becomes Graceful
colorhook
파이썬 웹 서비스 구성과 이해
파이썬 웹 서비스 구성과 이해
Selo Lee
Real-time collaborative drawing
Real-time collaborative drawing
Richard Powell
React.js and Flux in details
React.js and Flux in details
Artyom Trityak
Draw stuff at @jsnortheast
Draw stuff at @jsnortheast
Richard Powell
C# Powershell and an Azure Function Walk Into a Bar...
C# Powershell and an Azure Function Walk Into a Bar...
Obilogic
Why NodeJS
Why NodeJS
Riza Fahmi
Serverless NodeJS With AWS Lambda
Serverless NodeJS With AWS Lambda
Riza Fahmi
AWS Lambda with ClaudiaJS
AWS Lambda with ClaudiaJS
Riza Fahmi
淺談 Startup 公司的軟體開發流程 v2
淺談 Startup 公司的軟體開發流程 v2
Wen-Tien Chang
Agile startup company management and operation
Agile startup company management and operation
Jiang Zhu
Sinatraで触れる生SQL
Sinatraで触れる生SQL
treby
デザインシステムの海で3年間もがいてみて
デザインシステムの海で3年間もがいてみて
Yahoo!デベロッパーネットワーク
15年前に作ったアプリを現在に蘇らせてみた話
15年前に作ったアプリを現在に蘇らせてみた話
Naoki Nagazumi
Websockets: Pushing the web forward
Websockets: Pushing the web forward
Mark Roden
More Related Content
What's hot
Build your own RasPiTV with Node.js & Socket.io
Build your own RasPiTV with Node.js & Socket.io
Donald Derek Haddad
What a web developer would like to have…
What a web developer would like to have…
Giovanni Costagliola
Pokelabo flash 2013/4
Pokelabo flash 2013/4
Shota Suzuki
海纳百川,有容乃大
海纳百川,有容乃大
hujinpu
귀 Rails의 JS는 안녕하십니까?
귀 Rails의 JS는 안녕하십니까?
Cheon Park
Kickstarter Your Node.JS Application
Kickstarter Your Node.JS Application
Hengki Sihombing
Web workers and service workers
Web workers and service workers
Nitish Phanse
The Web Becomes Graceful
The Web Becomes Graceful
colorhook
파이썬 웹 서비스 구성과 이해
파이썬 웹 서비스 구성과 이해
Selo Lee
Real-time collaborative drawing
Real-time collaborative drawing
Richard Powell
React.js and Flux in details
React.js and Flux in details
Artyom Trityak
Draw stuff at @jsnortheast
Draw stuff at @jsnortheast
Richard Powell
C# Powershell and an Azure Function Walk Into a Bar...
C# Powershell and an Azure Function Walk Into a Bar...
Obilogic
Why NodeJS
Why NodeJS
Riza Fahmi
Serverless NodeJS With AWS Lambda
Serverless NodeJS With AWS Lambda
Riza Fahmi
AWS Lambda with ClaudiaJS
AWS Lambda with ClaudiaJS
Riza Fahmi
What's hot
(16)
Build your own RasPiTV with Node.js & Socket.io
Build your own RasPiTV with Node.js & Socket.io
What a web developer would like to have…
What a web developer would like to have…
Pokelabo flash 2013/4
Pokelabo flash 2013/4
海纳百川,有容乃大
海纳百川,有容乃大
귀 Rails의 JS는 안녕하십니까?
귀 Rails의 JS는 안녕하십니까?
Kickstarter Your Node.JS Application
Kickstarter Your Node.JS Application
Web workers and service workers
Web workers and service workers
The Web Becomes Graceful
The Web Becomes Graceful
파이썬 웹 서비스 구성과 이해
파이썬 웹 서비스 구성과 이해
Real-time collaborative drawing
Real-time collaborative drawing
React.js and Flux in details
React.js and Flux in details
Draw stuff at @jsnortheast
Draw stuff at @jsnortheast
C# Powershell and an Azure Function Walk Into a Bar...
C# Powershell and an Azure Function Walk Into a Bar...
Why NodeJS
Why NodeJS
Serverless NodeJS With AWS Lambda
Serverless NodeJS With AWS Lambda
AWS Lambda with ClaudiaJS
AWS Lambda with ClaudiaJS
Similar to mastodon API
淺談 Startup 公司的軟體開發流程 v2
淺談 Startup 公司的軟體開發流程 v2
Wen-Tien Chang
Agile startup company management and operation
Agile startup company management and operation
Jiang Zhu
Sinatraで触れる生SQL
Sinatraで触れる生SQL
treby
デザインシステムの海で3年間もがいてみて
デザインシステムの海で3年間もがいてみて
Yahoo!デベロッパーネットワーク
15年前に作ったアプリを現在に蘇らせてみた話
15年前に作ったアプリを現在に蘇らせてみた話
Naoki Nagazumi
Websockets: Pushing the web forward
Websockets: Pushing the web forward
Mark Roden
Angular2 + AWS Lambdaでサーバサイドレンダリングしてみた
Angular2 + AWS Lambdaでサーバサイドレンダリングしてみた
暁 三宅
EclipseCon France 2018 report
EclipseCon France 2018 report
Akira Tanaka
Rapid development with Rails
Rapid development with Rails
Yi-Ting Cheng
普通のwebエンジニアでも出来る、ド素人からの機械学習のはじめ方
普通のwebエンジニアでも出来る、ド素人からの機械学習のはじめ方
Atsushi Harada
Client Side Performance for Back End Developers - Cambridge .NET User Group -...
Client Side Performance for Back End Developers - Cambridge .NET User Group -...
Bart Read
Icinga Camp Berlin 2018 - Dev and Ops Stories - Integrations++
Icinga Camp Berlin 2018 - Dev and Ops Stories - Integrations++
Icinga
WEB SOCKET 應用
WEB SOCKET 應用
Jerromy Lee
Rails Performance Tricks and Treats
Rails Performance Tricks and Treats
Marshall Yount
Fuse Online Hands-on Guide
Fuse Online Hands-on Guide
Nobuhiro Sue
Node azure
Node azure
Emanuele DelBono
Stream processing in Mercari - Devsumi 2015 autumn LT
Stream processing in Mercari - Devsumi 2015 autumn LT
Masahiro Nagano
Great Tools Heavily Used In Japan, You Don't Know.
Great Tools Heavily Used In Japan, You Don't Know.
Junichi Ishida
DEV-017_Azure Functions overview and under the hood
DEV-017_Azure Functions overview and under the hood
decode2016
Integrating Alfresco with Portals
Integrating Alfresco with Portals
Piergiorgio Lucidi
Similar to mastodon API
(20)
淺談 Startup 公司的軟體開發流程 v2
淺談 Startup 公司的軟體開發流程 v2
Agile startup company management and operation
Agile startup company management and operation
Sinatraで触れる生SQL
Sinatraで触れる生SQL
デザインシステムの海で3年間もがいてみて
デザインシステムの海で3年間もがいてみて
15年前に作ったアプリを現在に蘇らせてみた話
15年前に作ったアプリを現在に蘇らせてみた話
Websockets: Pushing the web forward
Websockets: Pushing the web forward
Angular2 + AWS Lambdaでサーバサイドレンダリングしてみた
Angular2 + AWS Lambdaでサーバサイドレンダリングしてみた
EclipseCon France 2018 report
EclipseCon France 2018 report
Rapid development with Rails
Rapid development with Rails
普通のwebエンジニアでも出来る、ド素人からの機械学習のはじめ方
普通のwebエンジニアでも出来る、ド素人からの機械学習のはじめ方
Client Side Performance for Back End Developers - Cambridge .NET User Group -...
Client Side Performance for Back End Developers - Cambridge .NET User Group -...
Icinga Camp Berlin 2018 - Dev and Ops Stories - Integrations++
Icinga Camp Berlin 2018 - Dev and Ops Stories - Integrations++
WEB SOCKET 應用
WEB SOCKET 應用
Rails Performance Tricks and Treats
Rails Performance Tricks and Treats
Fuse Online Hands-on Guide
Fuse Online Hands-on Guide
Node azure
Node azure
Stream processing in Mercari - Devsumi 2015 autumn LT
Stream processing in Mercari - Devsumi 2015 autumn LT
Great Tools Heavily Used In Japan, You Don't Know.
Great Tools Heavily Used In Japan, You Don't Know.
DEV-017_Azure Functions overview and under the hood
DEV-017_Azure Functions overview and under the hood
Integrating Alfresco with Portals
Integrating Alfresco with Portals
More from treby
失敗から学ぶEM方法論
失敗から学ぶEM方法論
treby
Vue.js + Vuexチーム開発実践の事例
Vue.js + Vuexチーム開発実践の事例
treby
Frontendと向き合う
Frontendと向き合う
treby
Railsのフロントエンドのトレンドと実際〜事業を進めながら、レールに乗り続けるためのテクニック〜
Railsのフロントエンドのトレンドと実際〜事業を進めながら、レールに乗り続けるためのテクニック〜
treby
モダンJSでモダンなWebアプリケーションを作ろう!
モダンJSでモダンなWebアプリケーションを作ろう!
treby
Octocatは技術的負債の夢を見るか?
Octocatは技術的負債の夢を見るか?
treby
Shinjuku.rb #61 RubyKaigi2018予習
Shinjuku.rb #61 RubyKaigi2018予習
treby
The Art of Collaboration
The Art of Collaboration
treby
楽しく学ぶ?API
楽しく学ぶ?API
treby
VueとdockerとAWSとチームとアイマスと私
VueとdockerとAWSとチームとアイマスと私
treby
アイマスハッカソン2017
アイマスハッカソン2017
treby
Railsフロントエンドの modernizeにおける一事例 ~decaffeinateからES2015移行まで~
Railsフロントエンドの modernizeにおける一事例 ~decaffeinateからES2015移行まで~
treby
最近のRailsフロントエンド開発の紹介
最近のRailsフロントエンド開発の紹介
treby
たたかうFFI
たたかうFFI
treby
TH@NK YOU for SMILE!!とミリオンボーダーbot
TH@NK YOU for SMILE!!とミリオンボーダーbot
treby
Paperclip
Paperclip
treby
このみさんにPRしてもらう
このみさんにPRしてもらう
treby
reading suture
reading suture
treby
趣味から始めるWebスクレイピング
趣味から始めるWebスクレイピング
treby
Osoji to-ban bot
Osoji to-ban bot
treby
More from treby
(20)
失敗から学ぶEM方法論
失敗から学ぶEM方法論
Vue.js + Vuexチーム開発実践の事例
Vue.js + Vuexチーム開発実践の事例
Frontendと向き合う
Frontendと向き合う
Railsのフロントエンドのトレンドと実際〜事業を進めながら、レールに乗り続けるためのテクニック〜
Railsのフロントエンドのトレンドと実際〜事業を進めながら、レールに乗り続けるためのテクニック〜
モダンJSでモダンなWebアプリケーションを作ろう!
モダンJSでモダンなWebアプリケーションを作ろう!
Octocatは技術的負債の夢を見るか?
Octocatは技術的負債の夢を見るか?
Shinjuku.rb #61 RubyKaigi2018予習
Shinjuku.rb #61 RubyKaigi2018予習
The Art of Collaboration
The Art of Collaboration
楽しく学ぶ?API
楽しく学ぶ?API
VueとdockerとAWSとチームとアイマスと私
VueとdockerとAWSとチームとアイマスと私
アイマスハッカソン2017
アイマスハッカソン2017
Railsフロントエンドの modernizeにおける一事例 ~decaffeinateからES2015移行まで~
Railsフロントエンドの modernizeにおける一事例 ~decaffeinateからES2015移行まで~
最近のRailsフロントエンド開発の紹介
最近のRailsフロントエンド開発の紹介
たたかうFFI
たたかうFFI
TH@NK YOU for SMILE!!とミリオンボーダーbot
TH@NK YOU for SMILE!!とミリオンボーダーbot
Paperclip
Paperclip
このみさんにPRしてもらう
このみさんにPRしてもらう
reading suture
reading suture
趣味から始めるWebスクレイピング
趣味から始めるWebスクレイピング
Osoji to-ban bot
Osoji to-ban bot
Recently uploaded
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
V3cube
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Roshan Dwivedi
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Igalia
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
Slack Application Development 101 Slides
Slack Application Development 101 Slides
praypatel2
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
naman860154
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Delhi Call girls
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
Recently uploaded
(20)
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Slack Application Development 101 Slides
Slack Application Development 101 Slides
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
mastodon API
1.
mastodon API 2017/05/24 @treby006 Shinjuku.rb
#49
2.
About me • Hiroaki
Ninomiya a.k.a treby • Shinjuku.rb Co-organizer • Frontend Engineer at Repro • Ergodox EZ • keymap: https://gist.github.com/treby/ fe794e33d58e1d383c2fed4e691355cd
3.
Ergodox EZ
4.
• https://mastodon.mlborder.com • 1 •
EC2 • document Production Guide • (Websocket )
5.
mastodon • mastodon-web.service • Web
server • mastodon-sidekiq.service • Sidekiq process • mastodon-streaming.service • Websockets Node.js
6.
toot
7.
… • •
8.
• •
9.
MASTODON_HOST=mastodon.mlborder.com <- CLIENT_NAME=mlborder <- curl
-X POST -sS https://${MASTODON_HOST}/api/v1/apps -F "client_name=${CLIENT_NAME}" -F "redirect_uris=urn:ietf:wg:oauth:2.0:oob" -F "scopes=read write follow"
10.
{ "id":5, "redirect_uri":"urn:ietf:wg:oauth:2.0:oob", "client_id":"xxxxxx", "client_secret":"xxxxxx" }
11.
Access Token curl -X
POST -d “client_id=<client_id>&client_secret=<client_secret>& grant_type=password&username=user@example.com &password=password&scope=read%20write%20follo w” -Ss https://mastodon.mlborder.com/oauth/token • URL Encode • username
12.
{ "access_token":"xxxxx", "token_type":"bearer", "scope":"read write
follow", "created_at":1495593678 }
13.
14.
• Ruby gem •
https://github.com/tootsuite/mastodon-api • Twitter • gem install mastodon
15.
• mastodon Slack •
https://github.com/treby/mastodon-watcher/blob/ master/mastodon.rb • Slack 10,000 messages
16.
• • Twitter mastodon
Download now