> For the complete documentation index, see [llms.txt](https://seoden2136.gitbook.io/tweet-js/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://seoden2136.gitbook.io/tweet-js/master.md).

# Setting up

##

{% hint style="danger" %}
Before reading this please visit the token page to know on how to get your tokens, this guide only follows user auth
{% endhint %}

## Installing

```
You can install the package easily by doing 
npm i tweets.js
```

{% hint style="warning" %}
You need npm and node.js installed for this package to work
{% endhint %}

## Basic usage

{% hint style="warning" %}
Please visit the token page on how to acquire the following tokens
{% endhint %}

{% content-ref url="/pages/-MQzXe2gzgU1BsJTFOgz" %}
[Tokens](/tweet-js/tokens.md)
{% endcontent-ref %}

```
const bird = require('tweets.js')

const bot = new bird.tweet({
consumer_key: "Your consumer key",
consumer_secret: "Your consumer secret",
access_token: "Your access token",
access_token_secret: "Your access token secret"
});
```

That's it, you now have a basic bot. visit the methods page for a guide on all the methods available
