Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for retrieving content from hashtags. #14

Open
rodrigograca31 opened this issue Jun 27, 2016 · 3 comments
Open

Add support for retrieving content from hashtags. #14

rodrigograca31 opened this issue Jun 27, 2016 · 3 comments

Comments

@rodrigograca31
Copy link

Hi!

Recently (this month) Instagram stopped allowing us to get images from multiple users per hashtag....

This: https://www.instagram.com/explore/tags/nofilter/

As you can see, that is a public listing of all images with the hashtag "nofilter", but now it's impossible to do it through the API....

Would it be possible to modify this script to support hastags?

P.S. there are many people searching for a solution right now for the problem described.... I think that this could be a good solution.

Thanks!

@electblake
Copy link

seems like the best way into these might be POST https://www.instagram.com/query/

sample of decoded payload on tags page:

q=ig_hashtag(nofilters) { media.after(J0HV5u6nwAAAF0HV5u5GwAAAFkgA, 9) {
  count,
  nodes {
    caption,
    code,
    comments {
      count
    },
    date,
    dimensions {
      height,
      width
    },
    display_src,
    id,
    is_video,
    likes {
      count
    },
    owner {
      id
    },
    thumbnail_src,
    video_views
  },
  page_info
}
 }

ref=tags::show

@raiym
Copy link

raiym commented Aug 3, 2016

@electblake do you know how J0HV5u6nwAAAF0HV5u5GwAAAFkgA this kind of info generating?

@electblake
Copy link

@raiym it sounds like a pagination token, similar to what facebook does. But that's just a guess sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants