You are viewing a single comment's thread from:

RE: Stuck with Python Steem Programming

in #python7 years ago

Thanks to all who replied to this request for help, all this help led me to the following post https://cnsteem.com/utopian-io/@amosbastian/add-moderator-s-review-comment-to-utopian-info-database which gave away the fact that you need to loop through the post object:

for post in Post.get_all_replies(Post(permlink)):

then each comment can be obtained with:

post["body"]

In case anyone else is having problems with comments

Sort:  

Great! Just saw this now, but if you ever need help with steem-python related stuff (or Python) you can contact me on Discord at Amos#4622. I'm always willing to help!

@amosbastian thanks for the offer, its good to know there is a someone available when you get stuck. Also thanks for posting that article, that was the only piece of code I could find that showed how to get those comments so I owe you massively for that. It is a slow function like you say in that post but I can put up with that for my requirements.

Coin Marketplace

STEEM 0.13
TRX 0.34
JST 0.036
BTC 108739.50
ETH 4358.49
USDT 1.00
SBD 0.83