Skip to content

The FIRST and the ONLY module to get tweet id from url !

License

Notifications You must be signed in to change notification settings

VishwaGauravIn/get-tweet-id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Get Tweet ID

get-tweet-id

The FIRST and the ONLY module to get tweet id from url !

How to Install ?

Use npm or yarn to install this npm package

npm i get-tweet-id

Features

  • Fast
  • Minimal
  • Lightweight
  • No Dependencies
  • Support all Frameworks

How to use ?

  • Step 1: Install the npm package
  • Step 2: Import getTweetId in your app
  • Step 3: Pass Tweet url like getTweetId("https://twitter.com/VishwaGauravIn/status/1472126167167627265")
  • Result: You will get the Tweet Id in return like 1472126167167627265

Example Code :

import getTweetId from "get-tweet-id";

export default function Test() {
    let url = "https://twitter.com/VishwaGauravIn/status/1472126167167627265"
    let id = getTweetId(url)
    console.log(id) // 1472126167167627265
    return (
        <div>
        
        </div>
    )
}

About

The FIRST and the ONLY module to get tweet id from url !

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published