1.0.0 • Published 3 years ago
tweet-something v1.0.0
tweet-something
Just because... I don't know
Install
npm install tweet-something
Usage
import tweetSomething from "tweet-something";
(async () => {
const config = {
message: "Hello Everyone",
token: "****************",
authToken: "*************",
ct0: "*************",
};
await tweetSomething(config);
// tweet sent
})();
API
tweetSomethig(options)
options
Type: Object
The required parameters to send a tweet.
token
: All of the endpoints requires OAuth2 Authorizations. Note that they refuse OAuth2 Bearer tokens obtained from POSToauth2/token
.authToken
: You can get it from your browser's cookiect0
: You can get it from your browser's cookie
If you want to read more about those values, check this.
License
MIT © Abraham Hernandez
1.0.0
3 years ago
1.0.0-alpha
3 years ago