Viewing a response to: @gokulnk/re-sambillingham-tutorial-beginner-friendly-build-your-first-steem-bot-in-javascript-30minutes-20180120t222616121z
Hey @gokulnk, can you be a little more clear so I can help you out? - Where is this code from? (it's not this tutorial) - What do you mean by 'code doesn't work' - what error messages are you getting, what is happening? - What are you wanting to do? - Can you post your full code somewhere?
author | sambillingham |
---|---|
permlink | re-gokulnk-re-sambillingham-tutorial-beginner-friendly-build-your-first-steem-bot-in-javascript-30minutes-20180121t220727720z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["gokulnk"],"app":"steemit/0.1"} |
created | 2018-01-21 22:07:24 |
last_update | 2018-01-21 22:07:24 |
depth | 2 |
children | 5 |
last_payout | 2018-01-28 22:07:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 292 |
author_reputation | 34,876,406,478,004 |
root_title | "TUTORIAL - Beginner friendly - Build your first steem bot in Javascript - 30minutes " |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 31,210,096 |
net_rshares | 0 |
The code you have given in your sample works perfectly. I was just trying to build on it to add comments to a post. I keep getting the following error. ``` "Expected version 128, instead got 149" ``` Please let me know if you were able to post comments through the code.
author | gokulnk |
---|---|
permlink | re-sambillingham-re-gokulnk-re-sambillingham-tutorial-beginner-friendly-build-your-first-steem-bot-in-javascript-30minutes-20180122t145010549z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-01-22 14:50:18 |
last_update | 2018-01-22 14:50:18 |
depth | 3 |
children | 4 |
last_payout | 2018-01-29 14:50:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 277 |
author_reputation | 17,871,219,215,380 |
root_title | "TUTORIAL - Beginner friendly - Build your first steem bot in Javascript - 30minutes " |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 31,401,800 |
net_rshares | 0 |
okay thanks for clarifying, it's 100% possible to send comments through code. See this broadcast function - https://github.com/code-with-sam/steem-versary-bot/blob/master/bot.js#L183 notice the operations array on line 150 - https://github.com/code-with-sam/steem-versary-bot/blob/master/bot.js#L150
author | sambillingham |
---|---|
permlink | re-gokulnk-re-sambillingham-re-gokulnk-re-sambillingham-tutorial-beginner-friendly-build-your-first-steem-bot-in-javascript-30minutes-20180122t203222385z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"links":["https://github.com/code-with-sam/steem-versary-bot/blob/master/bot.js#L183","https://github.com/code-with-sam/steem-versary-bot/blob/master/bot.js#L150"],"app":"steemit/0.1"} |
created | 2018-01-22 20:32:21 |
last_update | 2018-01-22 20:32:21 |
depth | 4 |
children | 3 |
last_payout | 2018-01-29 20:32:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 301 |
author_reputation | 34,876,406,478,004 |
root_title | "TUTORIAL - Beginner friendly - Build your first steem bot in Javascript - 30minutes " |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 31,471,381 |
net_rshares | 0 |
Looks like I am having issues with all the broadcast functions. stream functions are working fine though. Let me know if we can discuss this in steemchat.
author | gokulnk |
---|---|
permlink | re-sambillingham-re-gokulnk-re-sambillingham-re-gokulnk-re-sambillingham-tutorial-beginner-friendly-build-your-first-steem-bot-in-javascript-30minutes-20180122t212403673z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-01-22 21:24:06 |
last_update | 2018-01-22 21:24:06 |
depth | 5 |
children | 2 |
last_payout | 2018-01-29 21:24:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 156 |
author_reputation | 17,871,219,215,380 |
root_title | "TUTORIAL - Beginner friendly - Build your first steem bot in Javascript - 30minutes " |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 31,481,196 |
net_rshares | 0 |