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
Amazon LambdaでTweetの自動収集
Search
shioiyan
October 05, 2018
Technology
290
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
品質と信頼性を地続きにする
grimoh
2
970
What the customer really needed
kawaguti
PRO
3
220
技術的負債から考える、AI時代のエンジニアリング投資 — ビズリーチの技術的負債と向き合った経験から、変更し続けられるソフトウェアを考える/ technical-debt-con2026
visional_engineering_and_design
4
3.7k
JSONataとAWS Step Functionsで目指すRuntimelessな世界
mu7889yoon
0
470
AIに賢く動いてもらうためのコンテキスト〜Snowflake女子会 vol.8
snowwmn0824
0
170
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
2
1.5k
Cloudflare Workers 向けアプリを C# で構築する ~WASM Native AOT への道~
nenonaninu
1
1.4k
メルカリにおけるAI時代の高速プロトタイピング基盤「Arca」
ryotarai
5
4.1k
【技術的負債conf】事業成長に伴う技術的負債の説明責任とAIによるモニタリング、認知的負債について
i35_267
4
2.1k
絵ではじめるKubernetesセキュリティ
aoi1
5
710
AIエージェントの自己改善をどう設計するか / How to Design Self-Improvement for AI Agents
22mi
26
17k
白金鉱業Meetup Vol.25 アウトカムが二値のデータに対するCausal Impact
brainpadpr
0
290
Featured
See All Featured
Six Lessons from altMBA
skipperchong
29
4.5k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
880
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
540
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Raft: Consensus for Rubyists
vanstee
142
7.7k
Darren the Foodie - Storyboard
khoart
PRO
4
3.9k
Between Models and Reality
mayunak
4
460
Skip the Path - Find Your Career Trail
mkilby
1
240
How to Talk to Developers About Accessibility
jct
2
550
How GitHub (no longer) Works
holman
316
150k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
670
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
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で感情分析してみる? ❏ その他良さそうな手法があれば教えてください!