oorestisime / gatsby-source-instagram

Create nodes from instagram posts hashtags and profiles

Home Page:https://gatsby-src-instagram.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use maxPosts for scraping method

greatwitenorth opened this issue · comments

It looks like the scraping method is not using the maxPosts config. It's currently hard coded to 100:

return axios
.get(
`https://instagram.com/graphql/query/?query_id=17888483320059182&variables={"id":"${username}","first":100,"after":null}`
)

Can we use the maxPosts config here?

No we can't because we cant paginate their page :(
also given all the issues right now with public scraping i am not sure i want to touch this :/