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
Amazon LambdaでTweetの自動収集
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
shioiyan
October 05, 2018
Technology
280
0
Share
Amazon LambdaでTweetの自動収集
Amazon LambdaとPythonのライブラリTweepyでTwitterのツイートを自動でS3に収集できるようにした話です。
shioiyan
October 05, 2018
More Decks by shioiyan
See All by shioiyan
PUN2触ってみた
shioiyan
1
3.6k
Other Decks in Technology
See All in Technology
Tour of Agent Protocols: MCP, A2A, AG-UI, A2UI with ADK
meteatamel
0
170
やさしいとこから始めるGitHubリポジトリのセキュリティ
tsubakimoto_s
3
2.1k
Oracle Cloud Infrastructure:2026年3月度サービス・アップデート
oracle4engineer
PRO
0
220
SaaSの操作主体は人間からAIへ - 経理AIエージェントが目指す深い自動化
nishihira
0
130
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
11k
非同期・イベント駆動処理の分散トレーシングの繋げ方
ichikawaken
1
250
Network Firewall Proxyで 自前プロキシを消し去ることができるのか
gusandayo
0
140
OPENLOGI Company Profile for engineer
hr01
1
61k
AI時代のオンプレ-クラウドキャリアチェンジ考
yuu0w0yuu
0
670
GitHub Copilot CLI で Azure Portal to Bicep
tsubakimoto_s
0
300
来期の評価で変えようと思っていること 〜AI時代に変わること・変わらないこと〜
estie
0
130
Why we keep our community?
kawaguti
PRO
0
350
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
140
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
280
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
690
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
210
SEO for Brand Visibility & Recognition
aleyda
0
4.4k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
800
New Earth Scene 8
popppiees
2
1.9k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
120
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
870
Transcript
Amazon Lambdaで Tweetの自動収集 若手エンジニアLT #5 in 株式会社モバイルファクトリー 2018/10/05
自己紹介 @otyugen59 • モバイルファクトリー エンジニア2年目 • C#(Unity), Perl, Ruby(Rails), Python,
JS(React Native) 2
突然ですが、 SNS警察してますか? 3
4 SNS警察の必要性 ❏ 自社サービスを利用しているユーザの行動把握 ❏ 不具合があった時に異常にいち早く気がつく ❏ 新しい施策の評判を把握する
5 作ったもの ❏ Amazon Lambdaで特定のキーワードを含むTweetを取得 ❏ 結果をS3にCSV形式で保存
6 Lambdaで作るメリット ❏ サーバレスなのでサーバ構築、管理の必要がない ❏ CloudWatchのイベント機能で定期実行が簡単にできる ❏ S3(クラウドストレージ)との連携も楽
7 使用ライブラリ ❏ PythonのTweepy ❏ An easy-to-use Python library for
accessing the Twitter API. ❏ http://www.tweepy.org/ ❏ 今回は検索APIしか使ってないが、投稿やリツイートなども できる
8 実装コード
デモ! 9
1 0 まとめと今後やりたいこと ❏ Lambdaを使ってS3に指定したワードを含むTweetをCSV ファイルでアップロードできた ❏ 取得したテキストをJanomeで形態素解析して頻出ワードを 取り出して傾向を見てみる? ❏
GCPのNatural Language APIで感情分析してみる? ❏ その他良さそうな手法があれば教えてください!