jamesmoriarty / react-instagram-authless-feed

React component to provide a token-less Instagram feed.
http://www.jamesmoriarty.xyz/react-instagram-authless-feed/
49 stars 18 forks source link

Is there a way we can limit number of photos by passing props? #10

Closed jyounosugar closed 4 years ago

jyounosugar commented 4 years ago

Want to limit the number of photos. Any number of photos we want.

jamesmoriarty commented 4 years ago

I can add it for sure. The max will be limted to 12. This is a limitation on the way it tokenless-ly fetches the data.

jamesmoriarty commented 4 years ago

@jyounosugar is this what you had in mind?

https://github.com/jamesmoriarty/react-instagram-authless-feed/pull/11/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R29

jamesmoriarty commented 4 years ago

Added in v1.1.1