$30 off During Our Annual Pro Sale. View Details »
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
開発に寄りそう自動テストの実現
goyoki
2
1.1k
Rubyで鍛える仕組み化プロヂュース力
muryoimpl
0
140
LLM Çağında Backend Olmak: 10 Milyon Prompt'u Milisaniyede Sorgulamak
selcukusta
0
120
Integrating WordPress and Symfony
alexandresalome
0
160
안드로이드 9년차 개발자, 프론트엔드 주니어로 커리어 리셋하기
maryang
1
120
生成AIを利用するだけでなく、投資できる組織へ
pospome
2
350
AIコーディングエージェント(skywork)
kondai24
0
180
俺流レスポンシブコーディング 2025
tak_dcxi
14
8.9k
エディターってAIで操作できるんだぜ
kis9a
0
730
ローカルLLMを⽤いてコード補完を⾏う VSCode拡張機能を作ってみた
nearme_tech
PRO
0
100
Microservices rules: What good looks like
cer
PRO
0
1.5k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
160
Featured
See All Featured
Producing Creativity
orderedlist
PRO
348
40k
Bash Introduction
62gerente
615
210k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Automating Front-end Workflow
addyosmani
1371
200k
Optimizing for Happiness
mojombo
379
70k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
4 Signs Your Business is Dying
shpigford
186
22k
Building Adaptive Systems
keathley
44
2.9k
Building Flexible Design Systems
yeseniaperezcruz
330
39k
A designer walks into a library…
pauljervisheath
210
24k
Writing Fast Ruby
sferik
630
62k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
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 ?