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

[instagram-feed] Random order? #424

Open
gorbat-o opened this issue Mar 16, 2024 · 1 comment
Open

[instagram-feed] Random order? #424

gorbat-o opened this issue Mar 16, 2024 · 1 comment
Assignees
Labels
instagram-feed Instagram Feed plugin

Comments

@gorbat-o
Copy link

gorbat-o commented Mar 16, 2024

Last version of the plugin.

I am trying to show the last 3 pics posted on instagram. But the order is completely wrong, it took the second pic, a fourth or fifth one and then the 10th for some reason.
How do we configure this?

			<div class="social-gallery">
				<div class="row">
					{% for image in instagram.getInstagramMedia|slice(0,3) %}
						<div class="col-sm-4">
							<a href="{{ image.meta.permalink }}" target="_blank">
								<img class="img-fluid overflow-hidden" src="{{ image.cropZoom(413, 413).url }}"/>
							</a>
						</div>
					{% endfor %}
				</div>
			</div>
@gorbat-o gorbat-o added the instagram-feed Instagram Feed plugin label Mar 16, 2024
@rhukster
Copy link
Member

in the past the order has always been timestamp descending fro instagram itself. Perhaps they have made a change in how they send the data now. I'll have to see if we can force a reorder based on the timestamp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
instagram-feed Instagram Feed plugin
Projects
None yet
Development

No branches or pull requests

3 participants