Could anyone Show me an example of your finished Parameters and Endpoint for a Twitter Reply maybe with a Screenshot? Because i dont understand exactly what to type in my Params and, do I got to change anything in the Pre-request Script?
Kind regards Alex
For the Params for https://api.twitter.com/2/tweets I tried:
Key : in_reply_to
Value : tweet_id
And the Result was "errors"
"message": "The query Parameters [in_reply_to] is not one of [expantions,tweet.fields,media.fields,poll.fields,place.fields,user.fields]"
"title":"Invalid Request" "detail": "One or more Parameters to your request Was invalid.", "type":"https://api.twitter.com/2/problems/invalid-request"
From the twitter's documentation query parameter
ids
is required. You missed that parameter.I will get tweet this demo
BY Postman
Full code by node.js
#1 Get an
access token
by API Key and API secret #2 Get text by access tokenCredential in
config.json
Save as
get-tweet.js
Get Result