Skip to content

Download Media Twitter best audio, video, image, GIF free and fastest, get metadata user, get posts from twitter user

License

Notifications You must be signed in to change notification settings

Fxc7/coders-twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coders-twitter

A simple and practical Twitter downloader that is easy to integrate. You can integrate it into your project that requires downloading Twitter videos and image or just to get Twitter metadata via a link.

Features

download()

  • get metadata video/image url

getPostUser()

  • get metadata user twitter with posted url

stalker()

  • get metadata user twitter

Installation

Install coders-twitter with:

NPM

npm install coders-twitter

PNPM

pnpm install coders-twitter

YARN

yarn install coders-twitter

Usage/Examples

ESM

import CodersTwitter from 'coders-twitter';

(async (url) => {
  try {
    const init = new CodersTwitter(); // can also new CodersTwitter(url);
    // If there is no URL argument in the constructor, you can add the method below.
    init.setArgument(url);
    const result = await init.download();
    console.log(result);
  } catch (error) {
    console.error(error);
  }
})('https://x.com/NetflixID/status/1895081447482105999');

CommonJS

const CodersTwitter = require('coders-twitter');

(async (url) => {
  try {
    const init = new CodersTwitter(); // can also new CodersTwitter(url);
    // If there is no URL argument in the constructor, you can add the method below.
    init.setArgument(url);
    const result = await init.download();
    console.log(result);
  } catch (error) {
    console.error(error);
  }
})('https://x.com/NetflixID/status/1895081447482105999');

MIT License

Authors

Feedback

If you have any feedback, please reach out to us at farhanxcode7@gmail.com

About

Download Media Twitter best audio, video, image, GIF free and fastest, get metadata user, get posts from twitter user

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published