This is Instagram’s private API. It has all the features the Instagram app has, including media upload.
Read the wiki and previous issues before opening a new one! Maybe your issue is already answered.
Frequently Asked Questions: F.A.Q.
Do you like this project? Support it by donating - Paypal: Donate - Bitcoin: 1DCEpC9wYXeUGXS58qSsqKzyy7HLTTXNYe
composer require mgp25/instagram-php
require("../vendor/autoload.php"); $instagram = new \InstagramAPI\Instagram();
If you want to test code that is in the master branch, which hasn’t been pushed as a release, you can use master.
composer require mgp25/instagram-php dev-master
Don’t have Composer?
You can download it here: https://getcomposer.org/
All examples can be found here
Why did i do the API?
After legal measures, Facebook, WhatsApp and Instagram blocked my accounts. In 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.
What is Instagram?
According to the company:
“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.”
Terms and conditions
- You will NOT use this API for marketing purposes (spam, massive sending…).
- We do NOT give support to anyone that wants this API to send massive messages or similar.
- We reserve the right to block any user of this repository that does not meet these conditions.
This 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.