Skip to content

The-OSINT-Newsletter/bouncer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Bouncer

Bouncer is a simple yet powerful bookmarklet that helps you quickly retrieve user IDs from popular social media platforms like Twitter, Facebook, Instagram, and TikTok. Whether you're an OSINT enthusiast, a marketer, or just curious, Bouncer makes it easy to get the information you need with just one click.

Installation

  1. Right-click on your bookmarks bar and select "Add page" or "Add bookmark."

  2. Name the bookmark as "Bouncer" or anything you prefer.

  3. In the URL field, paste the following code:

    javascript:(function(){try{var e=window.location.href;if(e.includes("twitter.com")){var t=document.evaluate('//script[@type="application/ld+json"]',document.lastChild,null,XPathResult.ANY_TYPE,null).iterateNext().textContent,n=JSON.parse(t),i=n.author&&n.author.identifier;i?alert("Twitter User ID: "+i):alert("Identifier not found!")}else if(e.includes("facebook.com")){var o=document.documentElement.innerHTML,r=o.match(/"userID":"(\d+)"/);r&&r[1]?alert("Facebook User ID: "+r[1]):alert("User ID not found on this page.")}else if(e.includes("instagram.com")){var a=document.documentElement.innerHTML;var ids=[];var regex=/\"id\":\"(\d+)\"/g;var match;while((match=regex.exec(a))!==null){ids.push(match[1]);}if(ids.length>=4){alert('Instagram User ID: '+ids[3]);}else{alert('Insufficient Instagram User IDs found on this page.');}}else if(e.includes("tiktok.com")){var c=document.documentElement.innerHTML,r=c.match(/"user":{"id":"(\d+)"/);r&&r[1]?alert("TikTok User ID: "+r[1]):alert("User ID not found on this page.")}else alert("This bookmarklet only works on Twitter, Facebook, Instagram, or TikTok.")}catch(e){alert("Error fetching or processing data: "+e.message)}})();
  4. Save the bookmark.

Usage

  1. Navigate to the profile page of a user on Twitter, Facebook, Instagram, or TikTok.
  2. Click on the "Bouncer" bookmarklet in your bookmarks bar.
  3. A pop-up alert will display the user ID of the profile you're viewing.

Supported Platforms

  • Twitter
  • Facebook
  • Instagram
  • TikTok

Detailed Write Up

Featured in Issue #43 of The OSINT Newsletter -> https://osintnewsletter.com/p/43

About

Extract the profile ID of any Facebook, Instagram, Twitter (X), or TikTok profile in one click

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published