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

how to only authenticate a request? #81

@andresogando

Description

@andresogando

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions