vetrix_x_replies

X (Twitter) Replies

Compatible Metadata Fields

Applicable Metadata CategoriesCompatible
SourceYes
ContentYes
AuthorYes
PersonNo
EnrichmentYes
OrganizationNo
Data source-specific fields?Yes, please see the Metadata page.

Metadata Example

{
    "data_source": "vetric_x_replies",
    "source": {
        "link": "https://x.com/garrytan/status/1676361987578814464"
    },
    "id": "1676361987578814464",
    "twitter": {
        "post_identifier": "1676361987578814464",
        "quote_count": 0,
        "reply_count": 4,
        "retweet_count": 10,
        "user_id": "11768582",
        "reply_link": "https://twitter.com/garrytan/status/1676361980486250496",
        "tweet_type": "REPLY"
    },
    "doc_date": "2023-07-04T22:46:57Z",
    "content": {
        "published": "2023-07-04T22:46:57Z",
        "body": "Self-authoring is the end state goal: a true founder who endures and perseveres has achieved this for themselves https://t.co/ClSdJXqzKF",
        "likes_count": 105,
        "views_count": 16536,
        "age_restricted": false,
        "image_urls": [
            "https://twitter.com/garrytan/status/1676361987578814464/photo/1"
        ]
    },
    "author": {
        "handle": "garrytan",
        "name": "Garry Tan",
        "profile_image_source": "https://pbs.twimg.com/profile_images/1775927507855998976/v1mOCezH_normal.jpg",
        "verified": true,
        "bio": "President & CEO @ycombinator —Founder @Initialized—designer/engineer who helps founders—YouTuber—San Francisco Democrat accelerating the boom loop—e/acc",
        "location": "San Francisco, CA",
        "followers": 465464,
        "following": 4512,
        "protected": false,
        "bio_links": [
            "https://youtube.com/garrytan?sub_confirmation=1"
        ],
        "url": "https://twitter.com/garrytan"
    },
    "enrichment": {
        "language": "en"
    }
}

Creating Data Collection Job

Example for creating a data collection job for vetric_x_replies data source, with a tweet ID.

curl --location 'https: //api.platform.datastreamer.io/api/pipelines/{PIPELINE_ID}/components/{COMPONENT_ID}/jobs?ready=true' \
      --header 'apikey: <your-api-key>' \
      --header 'Content-Type: application/json' \
      --data \
        '{
            "job_name": "my twitter data collection",
            "data_source": "vetric_x_replies",
            "query": {
                "query": "1676361980486250496"
            },
            "job_type": "oneTime"
        }'