Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi.
I am wondering is it able to do GET with the Twitter Search API using tRESTClient.
I am not familiar with REST or Oauth2 or JAVA, I have only tried python with Tweepy before.
I know for twitter there are Consumer Key (API Key), Consumer Secret (API Secret), Access Token, Access Token Secret.
I think the url should be https://api.twitter.com/1.1/search/tweets.json and https://api.twitter.com/oauth2/token .
The input parameter will be q, geocode, lang, locale, result type, count, until, since_id, max_id, include_entities.
But I have no idea how to put all these together to make it works.
Hope to get guiding with screenshots if possible.
Thank you very much.
I'd start here. Fortunately twitter supports client-credentials grant flow so this can all be done programmatically. tRestClient allows you to choose OAuth as the authentication mechanism. Once you retrieve the bearer token from the initial call, you can input the into future components to make other requests without re-authentication.