Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Golang i automatyzacja Twittera
Search
Michal Skuza
October 27, 2016
Programming
0
89
Golang i automatyzacja Twittera
#Golang #Twitter
Michal Skuza
October 27, 2016
Tweet
Share
More Decks by Michal Skuza
See All by Michal Skuza
Why is null an object?
michalskuza
0
61
A brief introduction to OCaml
michalskuza
0
160
Other Decks in Programming
See All in Programming
複雑化したリポジトリをなんとかした話 pipenvからuvによるモノレポ構成への移行
satoshi256kbyte
1
940
Your Perfect Project Setup for Angular @BASTA! 2025 in Mainz
manfredsteyer
PRO
0
150
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
200
2分台で1500examples完走!爆速CIを支える環境構築術 - Kaigi on Rails 2025
falcon8823
3
3.4k
Serena MCPのすすめ
wadakatu
4
930
What's new in Spring Modulith?
olivergierke
1
110
Web Components で実現する Hotwire とフロントエンドフレームワークの橋渡し / Bridging with Web Components
da1chi
3
2k
CSC509 Lecture 05
javiergs
PRO
0
300
CSC305 Lecture 04
javiergs
PRO
0
260
Cloudflare AgentsとAI SDKでAIエージェントを作ってみた
briete
0
130
私達はmodernize packageに夢を見るか feat. go/analysis, go/ast / Go Conference 2025
kaorumuta
2
500
なぜあの開発者はDevRelに伴走し続けるのか / Why Does That Developer Keep Running Alongside DevRel?
nrslib
3
380
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
56
14k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
51k
Making Projects Easy
brettharned
119
6.4k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
610
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Speed Design
sergeychernyshev
32
1.1k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Documentation Writing (for coders)
carmenintech
75
5k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Transcript
Golang i Automatyzacja Twittera Michał Skuza
None
Social Media i problemy • problemy pierwszego świata • Jak
coś wyszukać?
Social Media i problemy • Jak coś wyszukać? • Jak
skasować wszystkie posty/zdjęcia itd.?
Twitter • Stare konto • co zrobić z tweetami?
Rozwiązanie • Automatyzacja • Napiszę program w Go
Co będzie potrzebne? • Twitter REST API • https://dev.twitter.com/rest/public
Twitter API variables • https://apps.twitter.com/ • ConsumerKey • ConsumerSecret •
AccessToken • AccessSecret
Twitter REST API • Jest REST, zwykłe zapytania HTTP •
… • zbyt nisko poziomowo
go-twitter • go-twitter • https://github.com/dghubble/go-twitter/ • Go OAuth1 • https://github.com/dghubble/oauth1
Aplikacja • aplikacje konsolowe nie są cool :P • web
aplikacja
Web app • Routing • gorilla/mux • https://github.com/gorilla/mux • Plain
vanilla Golang
Client side • AngularJs 1.5.x • Bootstrap
Funckjonalności • Kasowanie tweetów • API Rate Limits! • Archiwizacja
• CSV lub JSON
Projekt
Demo http://giphy.com/
Co można dodać • Dodatkowe warunki do skasowania tweetów •
liczba polubień • liczba retweetow
Wnioski • Obsługa błędów • Wyjątki • Tools • IDE
Co można jeszcze zautomatyzować? • Facebook • Instagram • Github
• Spotify
Kod źródłowy • https://github.com/michalskuza/GoTwitterDelete
Pytania ?