Timeline for how to fetch posts from Api in chunks or parts?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 29, 2018 at 6:41 | vote | accept | Dev65 | ||
Aug 23, 2018 at 11:38 | vote | accept | Dev65 | ||
Aug 29, 2018 at 6:41 | |||||
Aug 23, 2018 at 10:08 | comment | added | Bysander |
See the update - you can use sleep() function to make the script wait - I've put 2 mins (120 seconds) but this may be overkill
|
|
Aug 23, 2018 at 10:07 | history | edited | Bysander | CC BY-SA 4.0 |
Added sleep to code after comment
|
Aug 23, 2018 at 6:24 | comment | added | Dev65 |
Thanks for answering @Bysander I tried this but it stops at 125 posts i need to add interval or any thing that stop the execution after 20 posts and starts it automatically after some interval
|
|
Aug 22, 2018 at 14:10 | history | answered | Bysander | CC BY-SA 4.0 |