Someone Already Reverse Engineered The Threads By Instagram API

Manpreet Singh
3 min readJul 11, 2023

Welcome back! Threads is a new application developed by Meta, the same people who created Instagram, WhatsApp, and FaceBook, interestingly enough, someone has already reverse-engineered the Threads application, so let’s take a look at some of this code! Here is a link to the GitHub repo where the developer left all of the code:

Starting off, this specific “reverse-engineered” API was developed almost entirely with TypeScript (with a little bit of Javascript):

Taking a look at the actual files within the project itself, we can see this project is almost broken down into two different structures, we have the threads-api folder and the threads-api-ui folder as well:

Creating actual content within Threads is actually fairly easy with this project, if you want to create a threads with only texts on it you can use the following structure:

--

--