How to get all users who upload instagram photo for specific location using username or location id?

I want to get a list of users who uploaded (shared) a photo in a specific place (page)? user can enter @location_user_name and then share the photo. I want a user who shared this photo with an instagram api using location_user_name! I tried the code below

https://api.instagram.com/v1/users/" + this.instagram_id + "/media/recent?min_timestamp=" + dateString + "&access_token=XXX";

I received photos uploaded by the location itself, not by users.

+2
source share
2 answers

As far as I know, Instagram always returns the same data about the Photos object.

: https://api.instagram.com/v1/users/41864127/media/recent/?client_id=my_client_id

:

{
    "pagination": 
    { 
       ... 
    },
    "meta": { 
        "code": 200 
    },
    "data": [{
       ...
       "user" : {
           "username" : "annafaithxoxo",
           "website" : "",
           "profile_picture" : "https:\/\/igcdn-photos-a-a.akamaihd.net\/hphotos-ak-xaf1\/10748350_344686255703816_1812933634_a.jpg",
           "full_name" : "A\u035cn\u0361n\u0361a\u035c F\u0361a\u035ci\u035ct\u0361h\u0361",
           "bio" : "",
           "id" : "41864127"
      }    

...

, Instagram Photo. , :) , json-, .

+1

, : http://www.gramfeed.com/instagram/places

, .

API facebook , instagram:

https://api.instagram.com/v1/locations/<location_id>/media/recent?access_token=ACCESS-TOKEN
+1

All Articles