{"id":16653605,"url":"https://github.com/norm/instagram-backup","last_synced_at":"2025-04-09T18:08:46.284Z","repository":{"id":66550710,"uuid":"38965416","full_name":"norm/instagram-backup","owner":"norm","description":"Fetch a copy of your photos and metadata from Instagram","archived":false,"fork":false,"pushed_at":"2016-07-24T07:44:17.000Z","size":55,"stargazers_count":13,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T20:04:50.062Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/norm.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-12T14:49:54.000Z","updated_at":"2022-12-31T15:45:16.000Z","dependencies_parsed_at":"2023-02-28T13:30:57.722Z","dependency_job_id":null,"html_url":"https://github.com/norm/instagram-backup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norm%2Finstagram-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norm%2Finstagram-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norm%2Finstagram-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/norm%2Finstagram-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/norm","download_url":"https://codeload.github.com/norm/instagram-backup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248084451,"owners_count":21045125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T09:46:01.369Z","updated_at":"2025-04-09T18:08:46.270Z","avatar_url":"https://github.com/norm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"instagram-backup\n================\n\nDownload a local copy of all of your instagram photos including their metadata\n(such as description, likes, comments, etc).\n\n## Instructions\n\n0.  *Setup python requirements.*\n\n    This is written in python, and requires a couple of libraries to be\n    installed before it will work.\n\n    If you are familiar with python programming, set up a virtualenv and\n    install the requirements.\n\n    If you don't know python, this command should be enough on OS X and Linux\n    computers:\n\n    ```\n    sudo pip install -r requirements.txt\n    ```\n\n1.  *Create an application.*\n\n    You need to create a new client application within Instagram using your\n    account. Go to [Manage Clients][mc] within the developer dashboard and\n    click *Register a New Client*.\n\n    Enter anything you like for the name, description and website URL.\n    The *Redirect URL* should be `http://localhost:4726/`.\n\n    ![Creating your application](https://raw.github.com/norm/instagram-backup/master/create.png)\n\n    Once created, the information of your application will contain two\n    strings, labelled *Client ID* and *Client Secret*, like so (this image is\n    just for illustration, the keys shown won't work):\n\n    ![Your client keys](https://raw.github.com/norm/instagram-backup/master/keys.png)\n\n    Copy and paste them into your terminal, like so:\n\n    ```\n    export INSTAGRAM_CLIENT_ID=\u003cyour client id\u003e\n    export INSTAGRAM_SECRET=\u003cyour client secret\u003e\n    ```\n\n[mc]:https://instagram.com/developer/clients/manage/\n\n\n2.  *Get a client authentication token.*\n\n    You then need to get an authentication token, which allows the backup\n    script to behave *as you* on Instagram. Run the following command in\n    your terminal\n\n    ```\n    python get_token.py\n    ```\n\n    then open your browser to \u003chttp://localhost:4726/\u003e. Click the link\n    to get your token — this will take you to Instagram to authorise,\n    then present you with two more values to export to your Terminal.\n\n    Stop the previous command in your Terminal by pressing Control and C at\n    the same time. Then copy and paste the values from the browser.\n\n\n3.  *Backup your photos.*\n\n    Run the following script in your Terminal:\n\n    ```\n    python backup.py\n    ```\n\n    This will create a directory called `backup` and fetch all of your\n    Instagram photos.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorm%2Finstagram-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorm%2Finstagram-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorm%2Finstagram-backup/lists"}