0.2.7 • Published 1 year ago
@indra.ai/twitter v0.2.7
@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
1 year ago
0.2.6
1 year ago
0.2.5
1 year ago
0.2.4
2 years ago
0.2.3
4 years ago
0.2.2
4 years ago
0.2.1
4 years ago
0.2.0
4 years ago
0.1.14
4 years ago
0.1.13
4 years ago
0.1.12
4 years ago
0.1.10
5 years ago
0.1.9
5 years ago
0.1.7
5 years ago
0.1.8
6 years ago
0.1.6
6 years ago
0.1.5
6 years ago
0.1.4
6 years ago
0.1.3
6 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago
0.0.2
7 years ago