One point that is missing from your notes is the distinction between first registering an application and then clicking on the manage clients link to then add a client to be able to enter redirect URI information to then obtain the needed client ID and client secret pass.
Alexander Conroy - 2013-01-15 11:38:44 - In reply to message 2 from Yasir Siddiqui
I have jsut over viewed the class and formatted to work with Wordpress Options. I use user_meta to store data per user. This should be interesting once it is done will share if I have any problems with the class. Looks very promising and one of the cleaner PHP implementations I have run across. Excellent!
Connect with me via Twitter and Google+ would love to keep up with you. All my profiles can be found at geilt.com
adelmaer - 2013-01-28 17:09:12 - In reply to message 2 from Yasir Siddiqui
Firstly - Great script and thanks for GNU GPL.
All in one and works good.
Maybe i missed some lines of code, but I noticed, there is a lack of "log out" of the Instagram API (Auth) realization.
If i go to "https://instagram.com/accounts/logout/" and return back to index.php the script still continue to be logged in.
I've heard logging out can be done via iframe but not sure.
Can it (logging out) be done via your class or script?
Yasir Siddiqui - 2013-01-29 11:58:34 - In reply to message 4 from adelmaer
I looked into log out issue and found that access token still remains valid even when you log out from Instagram account. May be Instagram server should invalidate access token after user logs out from the account but right now token still remain valid.
As this class uses session to store access token you can handle log out at you end by creating a log out script and unset the access token in the session variable.
thomas - 2013-02-04 10:11:36 - In reply to message 6 from Yasir Siddiqui
Firstly, Thank you for your great API. I've tried to unset all sessions like unset($_SESSION['AccessToken']); as you suggested. But all sessions are still appeared again when redirect to index.php. Don't really know how to logout.