Viewing a response to: @steempytutorials/part-6-how-to-automatically-reply-to-mentions-using-steem-python
Thank you for the contribution. It has been approved. Btw, I have a couple of ideas about this post: **Node issue** ```stream = map(Post, blockchain.stream(filter_by=["comment"]))``` This shouldn't work since default node defined at steem-python is *steemd.steemit.com* and it's down for a while. So, if you make it compatible with the jussi or another public node for the potential readers trying out the code, that would be perfect. **Mentions** We can use ```post.get("json_metadata", {}).get("users")``` to get mentions. I am not sure twitter username regex has a full compliance with steemit blockchain's username restrictions. Are there any specific reason to use a regex pattern? Great job on the series! Looking forward to see more. You can contact us on [Discord](https://discord.gg/uTyJkNm). **[[utopian-moderator]](https://utopian.io/moderators)**
author | emrebeyler |
---|---|
permlink | re-steempytutorials-part-6-how-to-automatically-reply-to-mentions-using-steem-python-20180117t211939280z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"} |
created | 2018-01-17 21:19:42 |
last_update | 2018-01-17 21:19:42 |
depth | 1 |
children | 3 |
last_payout | 2018-01-24 21:19:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.099 HBD |
curator_payout_value | 0.013 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 867 |
author_reputation | 448,535,049,068,622 |
root_title | "Part 6: How To Automatically Reply To Mentions Using Steem-Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 30,257,288 |
net_rshares | 13,910,433,501 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
emrebeyler | 0 | 6,416,615,739 | 15% | ||
turbot | 0 | 5,806,123,735 | 100% | ||
amosbastian | 0 | 1,687,694,027 | 100% |
Thanks! Regarding the node issue, in part 1 of the series @juliank made sure to mention the default node was deprecated and to set a new one using `steempy set nodes https://rpc.steemviz.com` for example. About the mentions, I never realised that! Funny thing is my mind jumped to regex, because I think I recalled that you used it for the mentions on steem.rocks. Guess I learned something today as well, so thanks for that! 😄
author | amosbastian |
---|---|
permlink | re-emrebeyler-re-steempytutorials-part-6-how-to-automatically-reply-to-mentions-using-steem-python-20180117t215223506z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["juliank"],"app":"steemit/0.1"} |
created | 2018-01-17 21:52:24 |
last_update | 2018-01-17 21:56:06 |
depth | 2 |
children | 2 |
last_payout | 2018-01-24 21:52: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 | 435 |
author_reputation | 174,473,586,900,705 |
root_title | "Part 6: How To Automatically Reply To Mentions Using Steem-Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 30,262,010 |
net_rshares | 0 |
Yeah, actually I wasn't aware of that and the regex pattern is still in place at steem.rocks. @favcau warned me lately that info can be obtained at json_metadata. :) Sorry about the node issue, couldn't have time to read the whole series yet.
author | emrebeyler |
---|---|
permlink | re-amosbastian-re-emrebeyler-re-steempytutorials-part-6-how-to-automatically-reply-to-mentions-using-steem-python-20180117t215427373z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["favcau"],"app":"steemit/0.1"} |
created | 2018-01-17 21:54:27 |
last_update | 2018-01-17 21:54:27 |
depth | 3 |
children | 1 |
last_payout | 2018-01-24 21:54:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.038 HBD |
curator_payout_value | 0.008 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 244 |
author_reputation | 448,535,049,068,622 |
root_title | "Part 6: How To Automatically Reply To Mentions Using Steem-Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 30,262,273 |
net_rshares | 6,102,549,028 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
turbot | 0 | 6,102,549,028 | 100% |
Haha, no worries, I had to go to part 1 myself and check if @juliank had actually mentioned it.
author | amosbastian |
---|---|
permlink | re-emrebeyler-re-amosbastian-re-emrebeyler-re-steempytutorials-part-6-how-to-automatically-reply-to-mentions-using-steem-python-20180117t215534407z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["juliank"],"app":"steemit/0.1"} |
created | 2018-01-17 21:55:33 |
last_update | 2018-01-17 21:56:00 |
depth | 4 |
children | 0 |
last_payout | 2018-01-24 21:55:33 |
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 | 95 |
author_reputation | 174,473,586,900,705 |
root_title | "Part 6: How To Automatically Reply To Mentions Using Steem-Python" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 30,262,438 |
net_rshares | 0 |