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 a way to get carousel images #650

Open
stevenschobert opened this issue Apr 10, 2020 · 9 comments
Open

Add a way to get carousel images #650

stevenschobert opened this issue Apr 10, 2020 · 9 comments

Comments

@stevenschobert
Copy link
Owner

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

@pfvqueiros
Copy link

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

@stevenschobert
Copy link
Owner Author

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).

@pfvqueiros
Copy link

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 :)

@benjamin-hull
Copy link
Collaborator

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.

@djqdos
Copy link

djqdos commented Jul 15, 2020

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;

@mylastore
Copy link

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

@stale
Copy link

stale bot commented Dec 12, 2020

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.

@stale stale bot added the stale Issues that have been inactive for 90 days or more label Dec 12, 2020
@stevenschobert stevenschobert removed the stale Issues that have been inactive for 90 days or more label Dec 12, 2020
@FreMun
Copy link

FreMun commented Dec 24, 2020

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

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

@stale
Copy link

stale bot commented Jul 8, 2021

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.

@stale stale bot added the stale Issues that have been inactive for 90 days or more label Jul 8, 2021
@stevenschobert stevenschobert added planned and removed v2 Related to the Version 2 release labels Jul 12, 2021
@stale stale bot removed the stale Issues that have been inactive for 90 days or more label Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants