jsup 2.1 - investor's relief (experiment on separation of investment and SNS)

by joviansummer original STEEMIT post: https://steemit.com/blog/@joviansummer/jsup-2-1-investor-s-relief-experiment-on-separation-of-investment-and-sns Hello, this is @joviansummer(witness: @jswit). I'm starting a new experiment regarding my @jsup vote service. The purpose of this experiment is to separate STEEM investment and social interaction(posting/commenting). For many people, writing a post daily(literally 365 posts per year) is not easy. It's not fun, and mandatory daily post only written for self-voting delegation service tends to result in useless low-quality content. I hope this new function of @jsup will reduce those posts, and also make it a bit more easy to invest in STEEM without worrying about daily posting. I think pressure of daily posting significantly undermines Steem as SNS. It's not fun. This is how it works: From 11:45 PM to 11:50 PM every night(reference time zone is GMT+9), @jsup checks if eligible delegators wrote something and received daily v...

파이썬(steem-python)을 이용한 포스팅 - 댓글

by joviansummer
original STEEMIT post: https://steemit.com/blog/@joviansummer/3hmhwi-steem-python


steem-python을 이용해서 특정 포스트에 댓글(comment)을 달 수 있습니다. 어제 포스팅했던 내용에서 이어집니다. 아래의 링크입니다.

파이썬(steem-python)을 이용한 포스팅 - 블로그
https://steemit.com/hive-141029/@joviansummer/4ykub6-steem-python

댓글을 달기 위해서는 포스팅할 때는 블로그 포스팅과 동일한 요령이지만 추가적으로 댓글 식별자인 "reply_identifier"를 지정해 주어야 합니다.

예를 들어서 위의 "파이썬(steem-python)을 이용한 포스팅 - 블로그"의 포스트 주소를 보겠습니다. 포스트 작성자는 "joviansummer"이고 포스트 고유 식별자인 permalink는 "4ykub6-steem-python"이 됩니다.

이 경우, 댓글 식별자는 "joviansummer/4ykub6-steem-python"입니다. 즉, 포스트 작성자와 permalink의 조합이 댓글 식별자가 됩니다.

이제 이 정보를 지정해서 댓글을 달고 싶다면 아래와 같이 해 볼 수 있겠습니다. 댓글이므로 제목, 즉 "title" 항목과 태그(tag)는 없겠죠. 아래의 코드에서 post()에 지정된 인자(argument)를 보시면 됩니다.

from steem import Steem

# 포스팅키
posting_key = "5XXXXXX...."
# 작성자 ID
steem_id = "joviansummer"
# 본문
body = "이것은 댓글입니다."
# 댓글 식별자
reply_id = "joviansummer/4ykub6-steem-python"

# 포스팅하기
s = Steem(keys=[posting_key])
s.commit.post(title='', body=body, author=steem_id, reply_identifier=reply_id)

Comments

Popular posts from this blog

스티미언의 영향력 지수 계산

jsup/avle code update - you don't have to write post everyday

jsup/avle 보팅 코드 갱신 - 1일1포스팅 강박에서 벗어나기