Comments (8)
Hi @onurgenes, you can get more media by specifying how much you want with the count
parameter, something like this:
api.recentMedia(fromUser: <YOUR USER>,
count: <HOW MUCH MEDIA YOU WANT>,
success: ...,
failure: ...)
Even so, I think the maximum media returned per request is 33, if you specify more than that the Instagram API replies with pagination results, which is something I'm still working on to support.
from swiftinstagram.
Hello there @AnderGoig,
I think I need pagination support. I need to take all photos and choose the photos which is shared in 2017. So I am eagerly waiting you to support that feature!
Thanks!
from swiftinstagram.
I've been working on this and I have created a new branch called pagination to test this feature.
The problem is that this feature is limited to non-sandbox Instagram clients, so I can't test it with mine 😕
Is your Instagram client out of sandbox mode? Because that will be perfect to test it.
from swiftinstagram.
I will send my Client for a submission. Let's if it's going to work.
from swiftinstagram.
Thanks @onurgenes, I hope they accept it!
from swiftinstagram.
But first, I need to finish the app. If they accepts, I can share the client info with you. Thanks for hard work!
from swiftinstagram.
Seems like a great library, but you call looping through all the images pagination? :)
You realize many people have 2000+ photos on their accounts?
Perhaps can expose the Pagination
object for clients to handle pagination themselves? Since requests accept maxId
parameter already, and requirements for preloading can differ quite a bit from user to user.
from swiftinstagram.
You're right. I'm removing this branch for now.
from swiftinstagram.
Related Issues (20)
- SwiftInstagram.InstagramError error 0 HOT 4
- Authentication fails HOT 2
- Value of type 'JSONDecoder' has no member 'keyDecodingStrategy' HOT 1
- Most endpoints have been immediately deprecated HOT 5
- JSON parser breaks when parsing ids of locations within photo tags HOT 3
- Value of type 'JSONDecoder' has no member 'keyDecodingStrategy' HOT 2
- InstagramLoginViewController does not deinit, stays in memory when closed
- Cannot login HOT 4
- Remember user
- End point retired HOT 1
- Error 1 when trying to receive Instagram followers HOT 1
- Not redirecting to other page after successful login HOT 11
- Getting nil while calling the login method. HOT 2
- Example Project does not log in successfully HOT 2
- Example Project
- error 3 bad request error. HOT 1
- Error 1- "This endpoint has been retired" error? HOT 1
- Is this api suitable for developing MacOS app ? HOT 1
- api.like error "retired" HOT 1
- Unable to make requests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftinstagram.