Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Golang i automatyzacja Twittera
Search
Michal Skuza
October 27, 2016
Programming
96
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
70
A brief introduction to OCaml
michalskuza
0
190
Other Decks in Programming
See All in Programming
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
0
100
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
Performance Optimization With LLMs
xleitix
0
140
AWSに止められる覚悟してますか?
morizo_1984
2
540
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
phperだってパンチカードでコーディングしたい
o0h
PRO
0
350
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
320
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
260
The Rails Doctrine Decade
koic
2
600
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
440
Domain-Driven Transformation
hschwentner
2
2.3k
Featured
See All Featured
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
930
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
KATA
mclloyd
PRO
35
16k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
630
The World Runs on Bad Software
bkeepers
PRO
72
12k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
540
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 ?