SlideShare ist ein Scribd-Unternehmen logo
1 von 12
もくもく執筆会☆出張版 REV.7
進捗報告
(by SDD, Slide Driven Development)
Osamu Takiya
やったこと
•技術書典4 で出す本の原稿
「Twitterでツイートを収集するときのノウハウ本
」
本の内容
• 載せること
• Twitterでツイートを収集する際のノウハウ
• 載せないこと
• かき集めたデータを用いたサービスの開発や運用につい
て
本の内容の具体例 6点
具体例 1
• Twitterのアプリケーション登録をする際の注意
• SMS認証が原則として必要
• しかしSMS番号を登録してなくても、一定の制限の
下では登録できる
• できるのだが……
具体例 2
• ツイートの検索は過去7日間までしかできない
• 札束で殴ると伸びる
• ツイートIDさえ保有していればツイートは後からいつで
も取得できる
• したがって、検索できる期間中にとにかくツイート(
ID)をかき集めておくべき
具体例 3
• 魔窟と化している JSON の取り扱い
• RDBMS では地獄
• MongoDB でも地獄
• 同じ地獄なら道連れできそうな人が多い MySQL
具体例 4
• 「おかしい……ツイートが取得できない……」
• 原因: アプリ登録した自分のアカウントにおいて、その
ツイートをしたユーザにブロックされていたから
• つまり、ツイートを収集するアプリの登録は、まっさら
なアカウントを使うべき
具体例 5
• 「おかしい……ユーザ検索ができない」
• 原因: スクリーンネーム(いわゆる @hogehoge)が以
前のものから変更されていたから
• スクリーンネームではなく ユーザID で取得ればよい
• ユーザID と スクリーンネーム の紐付け情報を常に更新
する手間は発生する(実はこれは結構やっかい)
具体例 6
• 「おかしい……ツイートID は間違っていないのにツイー
トが取得できない」
• 原因:
https://twitter.com/tornev/status/978157438875529217
• ↑これは int じゃ足りない(ことがある)
まとめ
• こんな内容がいろいろ載る予定です
• 動機
• ツイートを収集することで実現される企画がどんどん
行われてほしいという願い
• 余裕があればツイート収集のフレームワーク(的なもの
)も作れたらいいなと
あと20日ほどです
💪💪がんばりましょう💪💪

Weitere ähnliche Inhalte

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

もくもく執筆会☆出張版 REV.7 進捗報告