{"id":17675348,"url":"https://github.com/numandev1/instagram-api","last_synced_at":"2025-03-30T17:12:59.638Z","repository":{"id":57028193,"uuid":"283320925","full_name":"numandev1/Instagram-API","owner":"numandev1","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-29T18:05:59.000Z","size":991,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T18:50:50.149Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/numandev1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-28T20:32:01.000Z","updated_at":"2020-07-29T18:06:01.000Z","dependencies_parsed_at":"2022-08-23T16:20:42.317Z","dependency_job_id":null,"html_url":"https://github.com/numandev1/Instagram-API","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/numandev1%2FInstagram-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2FInstagram-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2FInstagram-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numandev1%2FInstagram-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numandev1","download_url":"https://codeload.github.com/numandev1/Instagram-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246351019,"owners_count":20763232,"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-24T07:10:50.040Z","updated_at":"2025-03-30T17:12:59.620Z","avatar_url":"https://github.com/numandev1.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![logo](/examples/assets/instagram.png) Instagram-API [![Latest Stable Version](https://poser.pugx.org/nomi9995/instagram-php/v/stable)](https://packagist.org/packages/nomi9995/instagram-php) [![Total Downloads](https://poser.pugx.org/nomi9995/instagram-php/downloads)](https://packagist.org/packages/nomi9995/instagram-php) ![compatible](https://img.shields.io/badge/PHP%207-Compatible-brightgreen.svg) [![License](https://poser.pugx.org/nomi9995/instagram-php/license)](https://packagist.org/packages/nomi9995/instagram-php)\n\nThis is a PHP library which emulates Instagram's Private API. This library is packed full with almost all the features from the Instagram Android App. This includes media uploads, direct messaging, stories and more.\n\n**Read the [wiki](https://github.com/nomi9995/Instagram-API/wiki)** and previous issues before opening a new one! Maybe your issue has already been answered.\n\n**Frequently Asked Questions:** [F.A.Q.](https://github.com/nomi9995/Instagram-API/wiki/FAQ)\n\n----------\n## Installation\n\n### Dependencies\n\nInstall/enable the required php extensions and dependencies. You can learn how to do so [here](https://github.com/nomi9995/Instagram-API/wiki/Dependencies).\n\n### Install this library\nWe use composer to distribute our code effectively and easily. If you do not already have composer installed, you can download and install it here [here](https://getcomposer.org/download/).\n\nOnce you have composer installed, you can do the following:\n```sh\ncomposer require nomi9995/instagram-php\n```\n\n```php\nrequire __DIR__.'/../vendor/autoload.php';\n\n$ig = new \\InstagramAPI\\Instagram();\n```\n\nIf you want to test new and possibly unstable code that is in the master branch, and which hasn't yet been released, then you can do the following (at your own risk):\n\n```sh\ncomposer require nomi9995/instagram-php dev-master\n```\n\n#### _Warning about moving data to a different server_\n\n_Composer checks your system's capabilities and selects libraries based on your **current** machine (where you are running the `composer` command). So if you run Composer on machine `A` to install this library, it will check machine `A`'s capabilities and will install libraries appropriate for that machine (such as installing the PHP 7+ versions of various libraries). If you then move your whole installation to machine `B` instead, it **will not work** unless machine `B` has the **exact** same capabilities (same or higher PHP version and PHP extensions)! Therefore, you should **always** run the Composer-command on your intended target machine instead of your local machine._\n\n## Examples\n\nAll examples can be found [here](https://github.com/nomi9995/Instagram-API/tree/master/examples).\n\n## Code of Conduct\n\nThis project adheres to the Contributor Covenant [code of conduct](CODE_OF_CONDUCT.md).\nBy participating, you are expected to uphold this code.\nPlease report any unacceptable behavior.\n\n## How do I contribute\n\nIf you would like to contribute to this project, please feel free to submit a pull request.\n\nBefore you do, take a look at the [contributing guide](https://github.com/nomi9995/Instagram-API/blob/master/CONTRIBUTING.md).\n\n## Why did I make this API?\n\nAfter legal measures, Facebook, WhatsApp and Instagram blocked my accounts.\nIn order to use Instagram on my phone I needed a new phone, as they banned my UDID, so that is basically why I made this API.\n\n### What is Instagram?\nAccording to [the company](https://instagram.com/about/faq/):\n\n\u003e \"Instagram is a fun and quirky way to share your life with friends through a series of pictures. Snap a photo with your mobile phone, then choose a filter to transform the image into a memory to keep around forever. We're building Instagram to allow you to experience moments in your friends' lives through pictures as they happen. We imagine a world more connected through photos.\"\n\n# License\n\nIn order help ensure fairness and sharing, this library is dual-licensed. Be\naware that _all_ usage, unless otherwise specified, is under the **RPL-1.5**\nlicense!\n\n- Reciprocal Public License 1.5 (RPL-1.5): https://opensource.org/licenses/RPL-1.5\n\nYou should read the _entire_ license; especially the `PREAMBLE` at the\nbeginning. In short, the word `reciprocal` means \"giving something back in\nreturn for what you are getting\". It is _**not** a freeware license_. This\nlicense _requires_ that you open-source _all_ of your own source code for _any_\nproject which uses this library! Creating and maintaining this library is\nendless hard work for us. That's why there is _one_ simple requirement for you:\nGive _something_ back to the world. Whether that's code _or_ financial support\nfor this project is entirely up to you, but _nothing else_ grants you _any_\nright to use this library.\n\nFurthermore, the library is _also_ available _to certain entities_ under a\nmodified version of the RPL-1.5, which has been modified to allow you to use the\nlibrary _without_ open-sourcing your own project. The modified license\n(see [LICENSE_PREMIUM](https://github.com/nomi9995/Instagram-API/blob/master/LICENSE_PREMIUM))\nis granted to certain entities, at _our_ discretion, and for a _limited_ period\nof time (unless otherwise agreed), pursuant to our terms. Currently, we are\ngranting this license to all\n\"[premium subscribers](https://github.com/nomi9995/Instagram-API/issues/2655)\" for\nthe duration of their subscriptions. You can become a premium subscriber by\neither contributing substantial amounts of high-quality code, or by subscribing\nfor a fee. This licensing ensures fairness and stimulates the continued growth\nof this library through both code contributions and the financial support it\nneeds.\n\nYou are not required to accept this License since you have not signed it,\nhowever _nothing else_ grants you permission to _use_, copy, distribute, modify,\nor create derivatives of either the Software (this library) or any Extensions\ncreated by a Contributor. These actions are prohibited by law if you do not\naccept this License. Therefore, by performing any of these actions You indicate\nYour acceptance of this License and Your agreement to be bound by all its terms\nand conditions. IF YOU DO NOT AGREE WITH ALL THE TERMS AND CONDITIONS OF THIS\nLICENSE DO NOT USE, MODIFY, CREATE DERIVATIVES, OR DISTRIBUTE THE SOFTWARE. IF\nIT IS IMPOSSIBLE FOR YOU TO COMPLY WITH ALL THE TERMS AND CONDITIONS OF THIS\nLICENSE THEN YOU CAN NOT USE, MODIFY, CREATE DERIVATIVES, OR DISTRIBUTE THE\nSOFTWARE.\n\n# Terms and conditions\n\n- You will NOT use this API for marketing purposes (spam, botting, harassment, massive bulk messaging...).\n- We do NOT give support to anyone who wants to use this API to send spam or commit other crimes.\n- We reserve the right to block any user of this repository that does not meet these conditions.\n\n## Legal\n\nThis code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Instagram or any of its affiliates or subsidiaries. This is an independent and unofficial API. Use at your own risk.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumandev1%2Finstagram-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumandev1%2Finstagram-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumandev1%2Finstagram-api/lists"}