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.
-
Right-click on your bookmarks bar and select "Add page" or "Add bookmark."
-
Name the bookmark as "Bouncer" or anything you prefer.
-
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)}})();
-
Save the bookmark.
- Navigate to the profile page of a user on Twitter, Facebook, Instagram, or TikTok.
- Click on the "Bouncer" bookmarklet in your bookmarks bar.
- A pop-up alert will display the user ID of the profile you're viewing.
- TikTok
Featured in Issue #43 of The OSINT Newsletter -> https://osintnewsletter.com/p/43