How to Verify Twitter Engagement Actions via API: Follows, Retweets, Comments, Quotes
Running a social media campaign where users earn rewards for completing actions on X (formerly Twitter), follow an account, retweet a post, leave a comment, join a community, requires a way to verify that each participant actually did what they claimed. Doing this manually does not scale past a handful of users. Doing it with honor-system checkboxes invites bots and fraud. Sorsa API provides a dedicated set of verification endpoints that answer simple yes/no questions: did this user follow that account? Did they retweet this tweet? Did they comment on it? Did they join this community? Each check is a single API call that returns a boolean result, making it straightforward to build automated quest systems, giveaway platforms, referral programs, and engagement campaigns with provable, on-chain-style verification. This guide covers every available verification endpoint with working code, then shows how to combine them into a complete campaign verification pipeline.Note: For a fuller walkthrough with extra workflows and end-to-end examples, see Twitter Engagement Verification API: Full Campaign Guide on the blog.
Available Verification Checks
Here is what you can verify, which endpoint to use, and what you cannot check:| Action | Endpoint | Method | What it returns |
|---|---|---|---|
| User follows an account | /check-follow | POST | {follow: true/false} |
| User retweeted a tweet | /check-retweet | POST | {retweet: true/false} |
| User quoted a tweet | /check-quoted | POST | {status: "quoted" / "retweet" / "not_found"} |
| User commented on a tweet | /check-comment | GET | {commented: true/false} |
| User is a community member | /check-community-member | POST | {is_member: true/false} |
Check 1: Did the User Follow an Account?
The most common campaign task. “Follow @YourBrand to enter the giveaway.” Endpoint:POST /v3/check-follow
The endpoint’s logic is “does user_2 follow user_1?”. user_1 is the brand (the followed account) and user_2 is the participant.
Simplest Example
Parameters
Provide one identifier for the brand and one for the participant.| Parameter | Type | Required | Description |
|---|---|---|---|
username_1 | string | One of | The brand’s handle. |
user_link_1 | string | these | Or the brand’s profile URL. |
user_id_1 | string | Or the brand’s numeric user ID. | |
username_2 | string | One of | Participant’s handle. |
user_link_2 | string | these | Or participant’s profile URL. |
user_id_2 | string | Or participant’s numeric user ID. |
Python
user_protected is true, the participant’s account is private and their follow relationships cannot be verified.
Check 2: Did the User Retweet a Tweet?
“Retweet this post to enter.” The endpoint scans up to 100 retweets per request and supports pagination for tweets with thousands of retweets. Endpoint:POST /v3/check-retweet
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
tweet_link | string | Yes | URL of the tweet to verify. |
username | string | One of | Participant handle. |
user_link | string | these | Or profile URL. |
user_id | string | Or numeric user ID. | |
next_cursor | string | No | Pagination for tweets with > 100 retweets. |
Python
next_cursor.
Check 3: Did the User Quote a Tweet?
“Quote tweet this post with your thoughts.” The/check-quoted endpoint distinguishes between a quote tweet and a plain retweet, returning a status string.
Endpoint: POST /v3/check-quoted
Python
Response
status field returns one of three values: "quoted" (user posted a quote tweet), "retweet" (user retweeted without adding text), or "not_found" (neither action detected). The response also includes the date and text of the quote, which can be used for content quality checks (minimum length, required hashtag, profanity filter).
Check 4: Did the User Comment on a Tweet?
“Leave a comment under this post.” This is the only verification endpoint that uses GET instead of POST. Endpoint:GET /v3/check-comment
Parameters (query string)
| Parameter | Type | Required | Description |
|---|---|---|---|
tweet_link | string | Yes | URL of the tweet. |
username | string | One of | Participant handle. |
user_link | string | these | Or profile URL. |
user_id | string | Or numeric user ID. |
Python
commented is true, the response includes the full tweet object of the comment itself, with text, engagement metrics, and timestamp. Use this to enforce comment quality (minimum length, required hashtag, no emoji-only replies) beyond just checking existence.
Check 5: Is the User a Community Member?
“Join our X Community to participate.” Useful for campaigns that require community membership as a prerequisite. Endpoint:POST /v3/check-community-member
Python
x.com/i/communities/<id>).
Building a Campaign Verification Pipeline
In a real campaign, users complete multiple tasks. The following pattern runs all five checks for a single participant, returns a structured result, and applies quality rules to the comment and quote.Verifying Participants in Bulk
When a campaign has thousands of participants, verify them in batch. The following pattern handles rate limits, writes results to CSV, and is resumable (it writes a row after each participant so a crash does not lose progress).time.sleep(0.25) keeps the call rate safely under the limit.
Account Ownership Verification
Before a user can participate in a campaign, you may want to prove they actually own the X handle they provided. A common pattern:- Generate a unique code (e.g.,
VERIFY-a8f3b2) and show it to the user. - Ask them to post a tweet containing that code.
- Use
/user-tweetsto fetch their recent tweets and check if the code appears.
Anti-Fraud Considerations
Automated campaigns attract bots. A few API-level checks rule out the obvious offenders:- Minimum account age. Fetch the participant’s profile via
/infoand checkcreated_at. Reject accounts created in the last 30 days, since most bot farms use fresh accounts. - Minimum activity. Check
tweets_countandfollowers_count. An account with 0 tweets and 2 followers is almost certainly not a real participant. - Comment quality. When verifying comments via
/check-comment, the response includes the full tweet text. Check for minimum length, presence of required keywords or hashtags, and reject single-character or emoji-only replies. - Quote quality. The
/check-quotedresponse includes the quote text. Apply the same quality checks as for comments. - Rate of completion. If a user completes all 5 tasks within seconds of receiving the task list, that is a bot. Log timestamps and flag suspiciously fast completions.
is_legitimate_account returns False, you save 5 verification requests on a participant you would have rejected anyway.
Scoring Participants by Influence
Not all participants have equal reach. A retweet from an account with 50,000 followers is worth more to a campaign than one from an account with 50. Use the/info endpoint to fetch the participant’s profile and weight their reward by follower count.
A Note on Likes
X (Twitter) made likes private in 2024. The platform no longer exposes which users liked a specific tweet through any public API, not Sorsa, not the official X API, not any third-party tool. If a campaign previously included a “Like this tweet” task, replace it with a retweet or comment requirement, both of which remain fully verifiable.Next Steps
- Search Tweets, find campaign-related tweets by keyword for broader monitoring.
- Track Mentions, track organic mentions of your brand alongside campaign-driven mentions.
- Real-Time Monitoring, verify tasks in near-real-time by polling for new activity.
- Followers & Following, extract your own follower list to cross-reference with campaign participants.
- Pricing, estimate campaign costs (5 requests per participant for full verification).
- API Reference, full specification for all verification endpoints.