Instagram JSON Feed extract photo urls and description

Posted on 2012-09-11
Last Modified: 2012-12-19
I'm struggling with how to take the Instagram API Json feed for instagram account and simply get the web based URL's for the jpegs so I can display them in a photo gallery on my website.

I have registered as a developer on Instagram... authenticated my user (per their documentation) and now have my CLIENT_ID, ACCESS_TOKEN, and the USER_ID.

But now I have NO idea how to get access to all the photos on my profile and simply parse the URL's in a CFOUTPUT loop so I can display them in a gallery on my site.

I have a Facebook photo album piece of code that does this, but I didn't write the coldfusion part to pull out the URL's of each image from the JSON feed.

I need to know:
the proper URL to access the feed (the API docs are soooo confusing
once I get the results, how do I pull out the URL's and captions using Coldfusion

Please provide more than an array dump... because I have no idea how to parse STRUCTS either.
Question by:day6
    LVL 81

    Accepted Solution

    Endpoints (proper URL as you called them) :

    If you want to get the photo album with CF and once you get a JSON content, you need to deserialize and parse it and get the photos you want :

    Check this article to have an idea of th:
    LVL 1

    Author Closing Comment

    not what I wanted, but oh well.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    gzip in express of nodejs 12 44
    Json result print in html 31 61
    How do I interpret the HTTP accept header? 5 27
    c# string 6 28
    Hi, I will be creating today a basic tutorial on how we can create a Mail Custom Function and use it where ever we want. The main advantage about creating a custom function is that we can accommodate a range of arguments to pass to the Function and …
    Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
    The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now