Information about using the Instagram export file in instagram-redact
instagram-redact provides a way to use the Instagram export to fetch the list of liked posts instead of querying the server.
Sometimes, Instagram can rate limit your account and it will prevent the program to fetch the liked posts from the servers. In such circumstances, you can use the export file instead.
-
Visit Instagram's "Download your information" page: https://accountscenter.instagram.com/info_and_permissions/dyi/
-
Click "Request a download" and select your Instagram account.
-
Click "Select types of information" and select "Likes" from the list and click "Next".
-
In the "Date range" section, select "All time" and click "Save".
-
In the "Format" section, select "JSON" and click "Save".
-
Click "Submit request".
-
In about 4 days, download the Instagram export .zip file sent to your registered email address from Instagram.
How to use the export file in instagram-redact
-
Download the export file by following the steps above.
-
Extract the export file and in the "likes" folder, copy "liked_posts.json".
-
In the instagram-redact directory, create a folder names "export" and paste the export file.
-
In "config.ini", under "Tasks" section, set "unlike_export" to True and "unlike_web" to False.
-
Run main.py