Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

how to only authenticate a request? #81

Open
andresogando opened this issue Aug 6, 2021 · 0 comments
Open

how to only authenticate a request? #81

andresogando opened this issue Aug 6, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@andresogando
Copy link

Hey how can I use this library to only generate an oauth1.0 authentication in order to perform a request using another library like 'Axios'..

for example:
I want to perform this request: https://developer.twitter.com/en/docs/twitter-api/v1/direct-messages/message-attachments/guides/retrieving-media

but using 'oauth.get() doesn't work for me.

*** what do I want?/ need? ***

fetch('media_url', {headers: { client.authorize? }})

"client is the instance of the twitter-api-client"

@andresogando andresogando added the enhancement New feature or request label Aug 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant