Verify User Retweeted a Tweet
This endpoint provides a convenient way to check if a user retweeted a tweet identified by tweet_id. This will recursively retrieve all users who recently retweeted a tweet and check if the user_id is present among the retrieved users.
Path parameters
The numeric ID of the target tweet. When using languages where the id value exceeds the default Integer type limit (e.g., JavaScript), you should store id as a String. Use the id_str property returned by the API for these values.
The numeric ID of the user. When using languages where the id value exceeds the default Integer type limit (e.g., JavaScript), you should store id as a String. Use the id_str property returned by the API for these values.
Response
Request succeeded
Example response
{
"source_user_id": "44196397",
"target_tweet_id": "1319287761048723458"
}Changes
Changed in 1 of the 6 revisions of this API.16
- ▲
the response's body type/format changed from
/toobject/for status200response-body-type-changed
- ○
removed
UserRetweetedStatusErrorResponsefrom the response bodyoneOflist for the response status200response-body-one-of-removed
- ○
added the required property
is_retweetedto the response with the200statusresponse-required-property-added
- ○
added the required property
retweeters_checked_countto the response with the200statusresponse-required-property-added
- ○
added the required property
source_user_idto the response with the200statusresponse-required-property-added
- ○
added the required property
statusto the response with the200statusresponse-required-property-added
- ○
added the required property
target_tweet_idto the response with the200statusresponse-required-property-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲