twitter / hbc

A Java HTTP client for consuming Twitter's realtime Streaming API
https://developer.twitter.com/en/docs/tweets/filter-realtime/overview
Apache License 2.0
962 stars 373 forks source link

How do I get token and secret #208

Closed learnconcept closed 2 years ago

learnconcept commented 2 years ago

hi Team,

I have created twitter developer tool to read the feeds. I see in the sample code as below Authentication hosebirdAuth = new OAuth1("consumerKey", "consumerSecret",token, secret);

but in the tool its generated

  1. API Key
  2. API Key Secret
  3. Bearer Token

how do I get token and secret from BearerToken so that I can create Authentication object? Please help I got stuck here

hainna01 commented 2 years ago

@learnconcept did you ever get to the bottom of this? Im in the same spot and similarly confused.

learnconcept commented 2 years ago

@hainna01 Yes its my bad I have not scrolled down of the page. Sorry, closing this issue.