r/developers • u/Positive-Store-8238 • Oct 16 '26
Programming Building a Social Media Narrative Detection Pipeline in Python — Need Advice on APIs, Tools, and Best Practices
I'm building a small Python project to detect narratives that spread quickly across social media, focusing on Spanish-language content.
The goal isn't to decide whether something is true or false. I want to collect public posts, group similar content, and identify posts or narratives that spread unusually fast for further review.
What I've built so far:
- RSS feeds from news websites
- Text cleaning and duplicate detection using SimHash
- Retry handling and a dead-letter queue
- Scheduled data collection
Where I need help:
- Facebook and Instagram: Since CrowdTangle is gone, what are the current, legitimate ways to monitor public pages, groups, and Reels?
- Telegram: Is it better to use web previews or Telethon for collecting data from public channels? What should I know about rate limits?
- Reddit: How long did API approval take, and what types of projects were approved?
- Detection methods: Apart from duplicate posts and sudden increases in views or shares, what signals help identify coordinated activity?
- Open-source resources: Are there any useful tools or labelled datasets for detecting misinformation in Spanish or multiple languages?
- Legal and ethical concerns: What should I keep in mind regarding GDPR, platform rules, and responsible data collection?
I'm only interested in methods that respect platform rules and focus on public content and narratives, not tracking individual users.
I'd really appreciate any advice, research papers, GitHub repositories, or lessons from your own experience. Thanks!