0.2.7 • Published 2 years ago

@indra.ai/twitter v0.2.7

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

@indra.ai/twitter

@indra.ai/twitter is a Class utility for accessing the Twitter API.

installing

npm install @indra.ai/twitter --save  

including in your code

const Twitter = require("@indra.ai/twitter")

Dependencies: 1. request

Example:

Using

TwitterServer.js in some other file

// using TwitterServer
const TwitterServer = require("@indra.ai/twitter");
const tw = new TwitterServer({
  consumer_key: "your_key",
  consumer_secret: "your_secret",
  token: "your_token",
  token_secret: "your_secret"
});

// now let's get our timeline from the new twitter server
tw.timeline("screen_name")
  .then(response => {
    console.log("RESPONSE", response);
  })
  .catch(err => {
    console.log("ERROR", err);
  });
0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.7

7 years ago

0.1.8

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago