"dataify-twitter-profile-by-profileurl"
Prepare Dataify builder requests for the x.com scraper family rooted at twitter_profile_by-profileurl. Use when needs to work with the successful Dataify scr...
dataify-server
@dataify-server
What This Skill Does
Generates a curl request for the Dataify builder API to scrape Twitter profile data by profile URL, username, or post URL. It guides the user through selecting a scraper tool, collecting parameter values, and constructing the final API call with the required authentication token.
Replaces manually constructing Dataify API requests for Twitter scraping by automating parameter collection and curl command generation.
When to Use It
- Scrape a Twitter profile's tweets and metadata using a profile URL
- Collect Twitter user data by providing a username instead of a full URL
- Extract specific Twitter posts by supplying their profile URLs
- Generate a reusable curl command for batch Twitter scraping tasks
- Prepare a Dataify builder request with custom spider parameters like search URL and pagination settings
Install
$ openclaw skills install @dataify-server/dataify-twitter-profile-by-profileurlDataify Builder Skill
Use this skill to prepare Dataify builder requests for the scraper family rooted at twitter_profile_by-profileurl on x.com.
Workflow
- Check whether
DATAIFY_API_TOKENexists in the environment. - If the token is missing, stop and tell the user to sign in at Dataify Dashboard to obtain it.
- Ask the user to choose exactly one tool from the following Chinese list:
- 通过个人资料 URL采集 (twitter_profile_by-profileurl)
- 通过Twitter 用户名采集 (twitter_profile_by-username)
- 通过个人资料URL采集 (twitter_post_by-profileurl)
- Read
references/tool-params.jsonand find the chosen tool bytool_signor Chinese tool name. - For each parameter in the chosen tool:
- If
input_modeisuser_input, ask the user for the value. - If
input_modeisselect, present the saved options to the user.
- If
- Use
scripts/build-dataify-request.pyas the default cross-platform helper. - Use
scripts/build-dataify-request.ps1as the Windows PowerShell helper when needed. - When a selectable parameter has a human-readable Chinese label, keep that label in
spider_parameters. Do not replace it with a code such asHKunless the user explicitly asks for the coded value. - Build
spider_parametersas a JSON array. - If every parameter has only one final value, build one object such as
[{"searchurl":"...","country":"Hong Kong"}]. - If one or more parameters have multiple aligned values, zip them by index and build one object per row. Example:
[{"search_url":"url1","page_turning":"1","max_num":"15"},{"search_url":"url2","page_turning":"1","max_num":"15"}]. - If a parameter has one value while another parameter has multiple values, reuse the single value across every generated row.
- Set
spider_nametox.com. - Set
spider_idto the selected tool'stool_sign. - Always include
spider_errors=trueandfile_name={{TasksID}}. - Return a curl command for
https://scraperapi.dataify.com/builder.
Set DATAIFY_API_TOKEN
Prefer a permanent environment-variable setup instead of setting the token only for the current terminal session.
Windows PowerShell, permanent for the current user:
[Environment]::SetEnvironmentVariable("DATAIFY_API_TOKEN", "your_token_here", "User")
Then reopen PowerShell. If the current session also needs the token immediately, run:
$env:DATAIFY_API_TOKEN = "your_token_here"
macOS or Linux, permanent for bash:
echo 'export DATAIFY_API_TOKEN="your_token_here"' >> ~/.bashrc
source ~/.bashrc
macOS or Linux, permanent for zsh:
echo 'export DATAIFY_API_TOKEN="your_token_here"' >> ~/.zshrc
source ~/.zshrc
Script usage
Python:
python scripts/build-dataify-request.py --tool-sign <selected_tool_sign> --values-file values.json
PowerShell:
& ".\scripts\build-dataify-request.ps1" -ToolSign "<selected_tool_sign>" -ValuesFile ".\values.json"
The values.json file should contain either one object or an array of objects. Example:
[{"searchurl":"https://www.airbnb.com/s/Greece/homes?...","country":"Hong Kong"}]
Required output shape
Generate a curl command in this form:
curl -X POST 'https://scraperapi.dataify.com/builder' \
-H "Authorization: Bearer $DATAIFY_API_TOKEN" \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'spider_name=x.com' \
-d 'spider_id=<selected_tool_sign>' \
-d 'spider_parameters=[{"param":"value"}]' \
-d 'spider_errors=true' \
-d 'file_name={{TasksID}}'
Reference usage
references/tool-params.jsonstores the full saved parameter catalog for every available tool in this scraper family.scripts/build-dataify-request.pyis the portable implementation and should be preferred.scripts/build-dataify-request.ps1mirrors the same behavior for Windows users.- If a parameter has no options, the user must provide the value.
- If a parameter has options, present those options back to the user before building the final request.
- Do not assume
spider_parametersalways contains exactly one object. Multi-value tools may require multiple objects zipped by index. - Use the saved
url_exampleonly as a reference example. Do not assume the user wants the example values unless they explicitly confirm them.
Top skills in this category
Multi Search Engine
@gpyangyoujunMulti search engine integration with 16 engines (7 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy engines, and Wolfra...
Agent Browser
@matrixyHeadless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection
Openai Whisper
@steipeteLocal speech-to-text with the Whisper CLI (no API key).
Tavily 搜索
@jacky1n7Web search via Tavily API (alternative to Brave). Use when the user asks to search the web / look up sources / find links and Brave web_search is unavailable...
Baidu web search
@ide-reaSearch the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.