Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

2M4U/twotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twotter

Twitter Made Simple

Function What It Does
postTweet() Post to twitter using your account.
deleteTweet() Delete a tweet you posted on your account.
getFollowers() Get followers of a chosen username you wish to look up.
retweet() Retweet something someone or yourself has already tweeted.
lookup() Lookup a username and get information about their user

Examples

postTweet() Post to twitter using your account.

const twotter = require("twotter").postTweet;
let res = twotter("Hello, World!");
return console.log(res);

deleteTweet() Delete a tweet you posted on your account (ID based ONLY).

const twotter = require("twotter").deleteTweet;
let res = twotter("192373892684562835");
return console.log(res);

getFollowers() Get followers of a chosen username you wish to look up.

const twotter = require("twotter").getFollowers;
let res = twotter("cyber_cdn");
return console.log(res);

retweet() Retweet something someone or yourself has already tweeted.

const twotter = require("twotter").retweet;
let res = twotter("192373892684562835");
return console.log(res);

lookup() Lookup a username and get information about their user.

const twotter = require("twotter").lookup;
let res = twotter("cyber_cdn");
return console.log(res);

Official Repository

Twitter Developer Page

About

The simplified Twitter NPM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published