Hi, I am new to API and all this. I tried to request through JS(with help of node) but I am unable to send it at first it showed an error for cookie setting and when I resolved it, now it shows require is missing. I tried to read documentations and watch tutorials but I am unable to find it.
I want to store all the names of the persons who retweet my tweet, I thought if I can get their ID then I can get their names but I am unable to send requests. I want to to it in JS please send some follow-ups for me so I can work on it.

1 Like

If you’re building something new, i’d recommend using the v2 API - there are some good JavaScript examples here: GitHub - twitterdev/Twitter-API-v2-sample-code: Sample code for the Twitter API v2 endpoints

You can use the search API to look for retweets_of:rahljoshi to get every retweet of your account for example.

2 Likes

Thanks!! I will check this out.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.