dongshiliao7990 2016-06-24 19:43
浏览 79
已采纳

从公共Instagram主题标签中获取图像

I am developing a website for a couple that are getting married and they created #somehashtag where other people can post images to. I want to fetch all images from that hashtag and post it on the site. Nothing works. Ideally I want to use php, but javascript/jquery would do.

What have you tried? The answer is probably everything

  • InstafeedJS doesn't work, nothing shows
  • Old php scripts, even from 2015 posted on SO or elsewhere does not work, nothing works.
  • Php libraries are old and unsopported, even the official Ruby and Python libraries!
  • Endpoints, require ACCESS-TOKEN and that's well, a very long story:

https://api.instagram.com/v1/tags/somehashtag?access_token=API_CLIENT and https://api.instagram.com/v1/tags/somehashtag?access_token=API_SECRET

Give:

{"meta": {"error_type": "OAuthPermissionsException", "code": 400, "error_message": "This client has not been approved to access this resource."}}

Now trying to generate an access token using third party apps, only generate tokens that can access my account, but the hashtag is not something for me, so the access token will be invalid when fetching hashtags.

Generating tokens using instagram require me asking for permission, as far as I know, correct me if I'm wrong, and if I try to do that I get

enter image description here

I tried to contact instagram support but they cannot be reached obviously.

  • 写回答

2条回答 默认 最新

  • donglou8371 2016-12-23 12:04
    关注

    you can use this link for view top hashtag

    https://www.instagram.com/explore/tags/YOUR_HASHTAG/?__a=1
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?