You are viewing a single comment's thread from:
RE: 2017 Updated Guide on How to Make Your Own Steem Upvoting Bot
Unless I am mistaken, stream_comments()
returns instances of class Post
which has the author as a field you can access using post["author"]
. That would allow you to remove the additional get_post()
. Give it a try.
hi, i tried using post["author"], but I get an error. I find it strange because in previous guides they use the post["author"]. That is why I use the workaround of get_post.
I tried again and it worked! Thanks.
Hmm .. here it says that
stream_comments
returns instances ofPost()
and here it refreshs the post and stores the content of the post as "dictionary" in thePost()
class.What's the error message?
I tried again and it worked. Thanks.
Would you know which node I can set to for the piston library. I tried several nodes and seemingly I can't do a create_account command. I can only do it in piston.rocks node but it seems the node charges more than the 0.3 steem that other node charge.