skip to Main Content

I have used Firebase to login to Twitter and generate token and secret that is needed auth in Twitter API (I think)

I have integrated Firebase with no errors and It works fine and returns both the values correctly.

Now I don’t know how to implement these value and pass this token in twitter API. Please help with this (Javascript/React)

My problem is exactly this Same problem In PHP(from StackOverflow) except I used React instead of PHP and i have trouble understanding PHP code and implementing that logic to Javascript.

I also tried sending API request via Postman but I don’t what fails.Postman API request for Twitter

2

Answers


  1. You must pass headers and choose authorization.

    Login or Signup to reply.
  2. You can use react-twitter-login package to get all tokens automatically, or look on codebase of it:

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search