Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP 

Custom Instagram API Functions (UPDATED WITH MUTLIPLE FUNCTIONS)

I coded this the day after Instagram changed their API settings in June.
I had to upload the code directly to pastebin as HF would block it.
I hope this is useful to some of you. 🤝

!! NOTE !!
Due to a recent suggestion by RumbleFrog, I decided to throw all of the code in one PHP file so it would be more easier to use.

How to use and features,
Spoiler (Click to View)

The code,
http://pastebin.com/u9yekKRt

All of the individual codes,
Spoiler (Click to View)
It's a nice discovery you have there, it'd be much better if you combine all of these into a class :P
...
very nice release 🤝
(Nov 17, 2016 01:19 PM)RumbleFrog Wrote:  It's a nice discovery you have there, it'd be much better if you combine all of these into a class :P

I'll think about making that! 🤝

EDIT: I decided to throw everything into one PHP file as it would be more easier to use.
I added a few more functions as well, and it's pretty easy to use. If you have any questions/problems, send me a PM.
Here's my version of this built into a class and utilizes WAY fewer requests, and fixed some bugs. I made this in 5 minutes.





Usage:
Code
$t = new IG();
print_r($t->getAccountInfo('instagram'));

print_r($t->getLinkInfo("https://www.instagram.com/p/BMxC80_DyXG/"));
...
(Nov 19, 2016 09:59 PM)RumbleFrog Wrote:  Here's my version of this built into a class and utilizes WAY fewer requests, and fixed some bugs. I made this in 5 minutes.





Usage:
Code
$t = new IG();
print_r($t->getAccountInfo('instagram'));

print_r($t->getLinkInfo("https://www.instagram.com/p/BMxC80_DyXG/"));

Good shit! Thank you for the contribution. 🎉
Seems like a nice little script. Nice release.
[Image: DTc14yu.png]


Possibly Related Threads...
Thread / Author Replies Views Last Post
[PHP] by YoshimitzuOct 25, 2024 05:35 PM 2 129 Oct 25, 2024 05:35 PM
Last Post: LeetSpeed
[PHP] by FiendAug 23, 2017 05:07 PM 3 315 Aug 23, 2017 05:07 PM
Last Post: Payload
[PHP] by g1noxJan 20, 2017 03:15 PM 10 1,178 Jan 20, 2017 03:15 PM
Last Post: DataBuster