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.
2
Answers
You must pass headers and choose authorization.
You can use
react-twitter-login
package to get all tokens automatically, or look on codebase of it: