twscrape
Collect Twitter/X Data with twscrape
Twitter/X data collection can require asynchronous queries, session setup, and careful rate-limit handling. This skill provides documented twscrape workflows for searches, profiles, timelines, and local result exports.
Stop for confirmation before installing.
Review the plan and obtain explicit user consent before changing files.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "twscrape" from https://skillstore.io/skills/2025emma-twscrape.md and its manifest at https://skillstore.io/api/skills/2025emma-twscrape/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "twscrape". Search public posts for "python lang:en" with a limit of 20.
Expected outcome:
- Setup checklist for an authenticated twscrape API instance.
- A limited asynchronous search workflow.
- Guidance for reviewing results and respecting platform limits.
Using "twscrape". Collect a public account timeline and store it locally.
Expected outcome:
- Steps to retrieve a public account identifier.
- A bounded timeline collection workflow.
- A local export plan with credential and database protection reminders.
Security Audit
Low RiskMost static detections are benign documentation examples for local proxies, local files, SQLite paths, and public installation URLs. Manual review found no prompt injection or hidden payload, but the skill promotes account rotation to bypass platform limits and demonstrates direct handling of account credentials and session cookies.
Confirmed security concerns (1)
Risk Factors
๐ Network access (4)
๐ Filesystem access (2)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/2025emma-twscrape/audits/7?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/2025emma-twscrape?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/2025emma-twscrape?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/2025emma-twscrape/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/2025emma-twscrape.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
2025Emma. (2026). twscrape security audit report (audit version 7) [Author version unspecified]. Skillstore. https://skillstore.io/skills/2025emma-twscrape/audits/7BibTeX citation
@techreport{2025emma-2025emma-twscrape-2026,
author = {2025Emma},
title = {twscrape security audit report (audit version 7)},
institution = {Skillstore},
year = {2026},
number = {7},
url = {https://skillstore.io/skills/2025emma-twscrape/audits/7},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "twscrape security audit report (audit version 7)"
version: "unspecified"
type: report
authors:
- name: "2025Emma"
date-released: "2026-07-18"
url: "https://skillstore.io/skills/2025emma-twscrape/audits/7"
identifiers:
- type: other
value: "skillstore:2025emma-twscrape:audit:7"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: MediumWhat You Can Build
Monitor a public topic
Search public posts for a defined topic and collect a limited result set for analysis.
Review a public account
Retrieve a public profile and recent timeline for a documented research task.
Build an async collector
Use asynchronous queries and local exports in a Python data collection workflow.
Try These Prompts
Help me use twscrape to search public Twitter/X posts for "climate data" and return at most 20 results. Explain the required setup first.
Show me how to retrieve a public Twitter/X profile by username with twscrape. Include safe handling for account credentials and cookies.
Create a twscrape workflow that collects up to 100 recent posts from a public account and saves the requested fields locally.
Design an asynchronous twscrape collection plan for authorized research. Include limits, local database protections, logging, retries, and platform compliance checks.
Best Practices
- Use only accounts and data collection activities that you are authorized to access.
- Store passwords, cookies, and local account databases outside source control with restrictive file permissions.
- Set small limits, add delays, and follow Twitter/X terms, privacy obligations, and applicable law.
Avoid
- Do not use account rotation or proxies to evade platform enforcement or collect data without authorization.
- Do not hardcode real passwords, email credentials, or session cookies in scripts or prompts.
- Do not collect, retain, or share personal data beyond the approved research purpose.
Frequently Asked Questions
What does this skill help me do?
Do I need a Twitter/X account?
Can I use this as the official Twitter/X API?
Where are account details stored?
Can I use a proxy?
Does this guarantee compliance with Twitter/X rules?
Developer Details
Author
2025EmmaLicense
MIT
Skillstore revision
r2
Version notice
The author did not declare a version.
Ref
80999bf530a7874d7bedf8ce202001ecb4c4f5e0
Maintenance freshness
7/19/2026
Usage
10 downloads ยท 423 views
File structure