如何使用位置用户名或 ID 获取所有在 Instagram 中为特定位置上传照片的用户? [英] How to get all users who upload photo in instagram for a specific location using location username or id?

查看:44
本文介绍了如何使用位置用户名或 ID 获取所有在 Instagram 中为特定位置上传照片的用户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想获取在特定位置(页面)上传(共享)照片的用户列表?用户可以输入@location_user_name,然后分享照片.我想使用 location_user_name 从 instagram api 获取分享这张照片的用户!我试过下面的代码

I want to get the list of users who has uploaded (shared) a photo on specific location (page)? the user can type @location_user_name and then share the photo. I want to get the user who share this photo from 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 got the photos uploaded by the location itself not users.

推荐答案

这里有一个实现你想要的:http://www.gramfeed.com/instagram/places

Here is an implementation that does wha you want: http://www.gramfeed.com/instagram/places

您可以搜索位置,然后查看所有图片并获取用户名.

You can search for a location, then view all pictures and get the usernames.

它使用 facebook 地点 API 来搜索某个地点的地点,然后使用 instagram 端点打开照片:

It used facebook places API to search for places at a location and then open the photos using the instagram endpoint:

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

这篇关于如何使用位置用户名或 ID 获取所有在 Instagram 中为特定位置上传照片的用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆