gatsby-source-instagram icon indicating copy to clipboard operation
gatsby-source-instagram copied to clipboard

Feature/new instagram api

Open graysonhicks opened this issue 2 years ago • 2 comments

DRAFT PR for using the new Instagram Graph API (https://graph.instagram.com/me) to avoid lots of errors that come from regular scraping (timeouts etc).

Currently getting an error during the pagination calls.

graysonhicks avatar Dec 23 '22 19:12 graysonhicks

Deploy request for gatsby-src-instagram pending review.

Visit the deploys page to approve it

Name Link
Latest commit b0fa2f1c015fcba8108ef3eba939c3f1ac4a96db

netlify[bot] avatar Dec 23 '22 19:12 netlify[bot]

Made more progress on this today. Pagination now works and nodes are created, but noticed that some fields on the other API are not available on the new one (see here. Mainly, some fields like comments, like_count, etc. I think this is a viable trade-off for not having to worry about rate limits. But can investigate further if there is another way to fetch those fields.

graysonhicks avatar Dec 23 '22 21:12 graysonhicks