Breadcrumz of Zion avatar

How to Resteem a post automatically based on #hashtag

breadcrumzofzion

Published: 14 Mar 2022 β€Ί Updated: 14 Mar 2022How to Resteem a post automatically based on #hashtag

How to Resteem a post automatically based on #hashtag

alt

It's for School of Minnnows 🐠🐠🐠🐠🐠 #school-of-minnows

We can Resteem posts to our profiles based on #hashtags then there is also option to provide a comment on the resteemed post afterwards.

Anyone is welcome to use it, works off of Node.js here is our github for it:

https://github.com/breadcrumbsofzion/resteem

Check Rog🐴 we on github now 😁

Will upload the rest of code base this month. All your base belong to us.

What are good #hashtags to resteem/ reblog / repost / forward for Breadcrumbs?

Curiosity has value of its own😺, how do we create the value of curiosity to engage and create feedback loops with the coolcats out there?

upvoteandresteem@upvoteandresteem we using for testing and social blockchain experiments.

Haven't written any text for schoolofminnows@schoolofminnows,

🐠🐠🐠🐠🐠🐠🐠🐠

it's a linky fish not a fishy link.

https://steemit.com/hive-129948/@tangera/4emhv1-2022

(check the 1st comment)

Here is the output:

Your post was upvoted and resteemed on @upvoteandresteem


<a href="https://steemit.com/@schoolofsteem%22%3E🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠

the .json input:

"comment": "Your post was upvoted and resteemed on upvoteandresteem@upvoteandresteem


\n ###### 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠 🐠"

Check Line 21:

https://github.com/breadcrumbsofzion/resteem/blob/main/resteemer.json

it's listening to the Steemit blockchain for #hashtags that are posts not comments if (result[0] == 'comment') {

Line 98:

https://github.com/breadcrumbsofzion/resteem/blob/main/resteemer.js

Once if finds a post on the blockchain it checks the body out, it pulls the hashtags set in the json file, it searches the body for any of those #hashtags, then it reblogs the post reblog(author1, permlink1);

We can mod it and erase all of that and resteem just by author AKA username@username

above example would resteem if the author was schoolofsteem@schoolofsteem


https://github.com/breadcrumbsofzion/resteem/blob/main/resteemer.json

lets go through the .json config slowly, syntax is most important but you can replace and edit without knowing the syntax if you stay between the lines and don't use anything other than letters and numbers.

`"account": "your account or the account you are storing this value with"

"posting_key": "POST PRIVATE KEY FOR ACCOUNT GOES HERE",

"tags": ["hashtag1", "hashtag2", "hashtag3", "resteem", "any", "of", "theses", "tags"],

"blacklist": ["cancel", "resteem", "on",],

"voting_percentage": how much upvote %? 4200 is 42%, 10000 = 100% upvote

"blacklist_tags": ["cancel", "resteem", "if", "any", "of", "these", "tags"],

"interval": 61, (not too sure what this is honestly, can't find it in steemit API nor the .js file)

"comment": "Comments to write on Resteemed post go here, breadcrumzofzion@breadcrumzofzion gave you some bread🍞"`

in the future, everyone will need to know how to do a little bit of code like this, it will become like reading and writing and knowing how to use a device is now.

Coding will become part of linguistic in the 21st Century, part of reading and writing is language, code is a universal language.

if not programming at least knowing how to modify a .json file.

like this one for the resteemer

We will do a $HIVE equivalent in the near future.

#schoolofsteem #resteem #steem #education #steemeducation #nodejs #json

Leave How to Resteem a post automatically based on #hashtag to:

Written by

Lets bake, lets break, lets make some crumzzzz

Read more #school posts


Best Posts From Breadcrumz of Zion

We have not curated any of breadcrumzofzion's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Breadcrumz of Zion