CodeIgniter Forums
Instagram API Library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Instagram API Library (/showthread.php?tid=41425)



Instagram API Library - El Forum - 05-07-2011

[eluser]vertmonkee[/eluser]
I have made a library for interacting with the Instagram API.

You can download it from https://github.com/ianckc/CodeIgniter-Instagram-Library

And see a sample demonstration at http://ianluckraft.co.uk/demonstrations/instagram-library/welcome

Use and enjoy.

Thanks


Instagram API Library - El Forum - 05-31-2011

[eluser]John Morton[/eluser]
Looks interesting. Thanks for sharing this.


Instagram API Library - El Forum - 04-26-2012

[eluser]Muhammad Hasan Same[/eluser]
Thanks for writing this wonderful library ,
how to logout from instagram?



Instagram API Library - El Forum - 04-27-2012

[eluser]Rob Pomeroy[/eluser]
[quote author="Muhammad Hasan Same" date="1335476930"]Thanks for writing this wonderful library ,
how to logout from instagram?
[/quote]

That would depend on how your application is storing login details. In my case, I'm using sessions, so logging out is as simple as:
Code:
$this->session->sess_destroy();



Instagram API Library - El Forum - 04-27-2012

[eluser]vertmonkee[/eluser]
[quote author="Muhammad Hasan Same" date="1335476930"]Thanks for writing this wonderful library ,
how to logout from instagram?
[/quote]

I've just had a look at the Instagram Authentication Endpoints and they still don't have an official Logout Endpoint.

In September 2011 a post was made to the Google Group to say they would add one soon.

http://groups.google.com/group/instagram-api-developers/msg/6e1f79587f087af5

Something like Rob suggested would clear the user credentials from your app.


Instagram API Library - El Forum - 05-13-2014

[eluser]Unknown[/eluser]
I used this code but it appears to me only popular_media and not list of profile user, tag, ...