draftbit / twitter-lite

A tiny, full-featured, flexible client / server library for the Twitter API
https://npm.im/twitter-lite
MIT License
794 stars 96 forks source link

Two ways to access data? #182

Closed pradeepb28 closed 2 years ago

pradeepb28 commented 2 years ago

I've read the documentation and I just want to make myself more clear. There are two ways to retrieve data

In terms of sending http headers this is what needed? App+ User request

App only requires header

ciffelia commented 2 years ago

To make a request as a user you need:

This library will automatically generate required signatures and append them to the headers.

To make a request as an app you need:

In this case no signatures are required. This library will automatically append them to the headers.