Thanks, Jo. just been over to look at your latest post. Great tutorial and project you have there!
Index 0 of each returned item in the results array is an ID of sorts. You can get 50 items from -1, then item 0 will be your starting point for the previous 50 etc. e.g
steem.api.getAccountHistory(ACCOUNT_NAME, -1, 50, (err, result) => {
let endItem = result[0][0]
steem.api.getAccountHistory(ACCOUNT_NAME, endItem, 50, (err, result) => {
//
});
});
Excuse this horrible code but hopefully that illustrates better.
Thank you, Sam; for the kind words and the code :)