RE: Programming Diary #23: Warning - this tool exercises your voting power
I'm on my vacation at the moment, so I can only write a few lines on my mobile phone.
and then throw out your work and redo it "the right way".
I'm feeling the same way at the moment. I had developed our community finance bot (which is now active all over Steem by the way) and after additional features were requested, I realized that it wasn't so well structured. In order to better prepare the bot for new features, I needed to put the whole thing on a better feet and took an object-oriented approach.
I'm only 2/3 done, but I like it a lot better...
I'm also not sure why condenser_api/get_following seems to need the followers plugin.
I think some (maybe all?) Condenser methods fall back to the original API. This is just a guess, as I recently noticed something similar during a test with a condenser method.
Unfortunately, I can't look at this at the moment.
I noticed in your screenshot of the SCA that you are showing the edit operations and not the edited post/comment. You might want to modify that.
Yeah, that's on the list. Not too close to the top, though. 😞
Hope you're enjoying your vacation!
Maybe I'll eventually stuff in the actual content from after the edit (or maybe that's not practical, since there might be multiple edits in between polls), but here's a start.
I would prefer a single entry, but it's just a start :-)
As far as I understood from your previous posts, you get the data via the
get_account_history
. So you need another query for the current version of the comment, right? If there are only a few comments, this hardly matters, but if there are more... But I can't think of a better solution at the moment.Looks like this is right:
I was not aware of that.
I just can't quite understand why this API was introduced...