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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Michal Skuza
October 27, 2016
Programming
92
0
Share
Golang i automatyzacja Twittera
#Golang #Twitter
Michal Skuza
October 27, 2016
More Decks by Michal Skuza
See All by Michal Skuza
Why is null an object?
michalskuza
0
65
A brief introduction to OCaml
michalskuza
0
180
Other Decks in Programming
See All in Programming
Hive Metastoreを通して学ぶIceberg REST Catalog ― 仕様から実装まで
okumin
0
320
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
190
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
280
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.2k
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
2.5k
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
1.8k
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
180
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
2
210
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
330
TypeSpec で繋ぐ複数プロダクトの型安全
maroon8021
1
270
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
220
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
510
Featured
See All Featured
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
300
How STYLIGHT went responsive
nonsquared
100
6.1k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
55k
The Invisible Side of Design
smashingmag
302
52k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
840
Utilizing Notion as your number one productivity tool
mfonobong
4
310
The Spectacular Lies of Maps
axbom
PRO
1
770
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
760
sira's awesome portfolio website redesign presentation
elsirapls
0
270
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
130
Site-Speed That Sticks
csswizardry
13
1.2k
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 ?