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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Michal Skuza
October 27, 2016
Programming
0
90
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
62
A brief introduction to OCaml
michalskuza
0
170
Other Decks in Programming
See All in Programming
AI活用のコスパを最大化する方法
ochtum
0
130
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
7.9k
PostgreSQL を使った快適な go test 環境を求めて
otakakot
0
540
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
3
1.3k
手戻りゼロ? Spec Driven Developmentとは@KAG AI week
tmhirai
1
190
SourceGeneratorのマーカー属性問題について
htkym
0
180
今更考える「単一責任原則」 / Thinking about the Single Responsibility Principle
tooppoo
3
1.6k
Claude Code Skill入門
mayahoney
0
200
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
400
Ruby x Terminal
a_matsuda
7
590
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
160
New in Go 1.26 Implementing go fix in product development
sunecosuri
0
420
Featured
See All Featured
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
Paper Plane
katiecoart
PRO
0
48k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
630
Rails Girls Zürich Keynote
gr2m
96
14k
First, design no harm
axbom
PRO
2
1.1k
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.1k
Technical Leadership for Architectural Decision Making
baasie
3
280
It's Worth the Effort
3n
188
29k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
150
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.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 ?