Instafeed.js: Add a way to get carousel images

Created on 10 Apr 2020  路  8Comments  路  Source: stevenschobert/instafeed.js

Feature request to add a way to get the images from a carousel album

feature request v2

All 8 comments

Thanks for raising this feature @stevenschobert. May I ask for an estimated ETD?

Afraid I can't give one @pfvqueiros, sorry! I can only work on this project during my free time, which is limited and unpredictable. (For example, I was only able to rewrite the v2 of this project because I finished a previous project early, and sacrificed some sleep.)

If you're needing it urgently for a client project, you might have to implement it yourself using a callback options that are provided (like after).

Afraid I can't give one @pfvqueiros, sorry! I can only work on this project during my free time, which is limited and unpredictable. (For example, I was only able to rewrite the v2 of this project because I finished a previous project early, and sacrificed some sleep.)

If you're needing it urgently for a client project, you might have to implement it yourself using a callback options that are provided (like after).

Totally understand. Thanks again for your great work :)

Just a note on this after some initial investigation - the extra images in a carousel are available as an array of ID's - which means that they require 1 request per image. If you have a lot of carousels with a lot of images in them, this would eat up your API request allowance a lot faster (the default allowance is 200/hour, and normally instafeed.js uses 1 per user for the initial load).

We might need to look at a scheme where the extra images are loaded on demand (the user clicks 'next' to trigger the carousel to load), rather than everything automatically.

I believe if you add "children{media_url,thumbnail_url}" to the call out to the graph api, that returns all children of carousel albums. At least it does in the (limited) tests that I've done.

  url = 'https://graph.instagram.com/me/media?fields=caption,id,media_type,media_url,permalink,thumbnail_url,timestamp,username,children{media_url,thumbnail_url}&access_token='+ token;

Any luck on this? I am looking to display album images also on my website.

This issue has been automatically marked as stale because it hasn't had new comments in the last 3 months. It will be closed if no further activity occurs. If you still need assistance with this issue, or believe it shouldn't be closed, please respond with a new comment to let us know.
Thank you all for your contributions.

I changed the url variable as @djqdos suggested. Then added lightSlider to my project.

Find my code in attachment ;-)
instragram-fetch.txt

Was this page helpful?
0 / 5 - 0 ratings

Related issues

petethompson picture petethompson  路  8Comments

benjamin-hull picture benjamin-hull  路  6Comments

benjamin-hull picture benjamin-hull  路  9Comments

chetabahana picture chetabahana  路  5Comments

josiahwiebe picture josiahwiebe  路  5Comments