create account

RE: Write a Steemit Web App: Part 9 - Retrieving Content with getDiscussionsBy*() by thescubageek

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @jfollas/write-a-steemit-web-app-part-9-retrieving-content-with-getdiscussionsby

· @thescubageek ·
Thanks for your work digging into this. One thing that I'm hitting my head against is how to retrieve all posts for a given day... right now I'm iterating through the results of `get_discussions_by_created` until I'm in the correct time range, but this takes an extremely long time for any dates longer than a few days ago since it has to retrieve a large amount of unnecessary discussions until we hit the correct timeframe. Do you have any ideas on how to make this more efficient?
properties (22)
authorthescubageek
permlinkre-jfollas-write-a-steemit-web-app-part-9-retrieving-content-with-getdiscussionsby-20180113t080230608z
categorysteemdev
json_metadata{"tags":["steemdev"],"app":"steemit/0.1"}
created2018-01-13 08:02:39
last_update2018-01-13 08:02:39
depth1
children0
last_payout2018-01-20 08:02:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length483
author_reputation2,455,841,396,924
root_title"Write a Steemit Web App: Part 9 - Retrieving Content with getDiscussionsBy*()"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id29,178,472
net_rshares0