Development - Follow Bot Updates IV

in #utopian-io7 years ago (edited)




(source: https://pixabay.com/en/analytics-information-innovation-3088958/)

These changes were made to this software which is released under “The Unlicense”. This software utilizes the Steem blockchain and primarily focuses on the Follow functionality, but does more than just that. It also contains the functionality to host a contest and for curation. It is intended to be used for other purposes in the future.

The files in the repository currently include:

  • config.js
  • deep_follow.js
  • follow_accounts.js
  • follow_back.js
  • follow_trending_authors.js
  • generate_contest_winners.js
  • get_reblogs_steemsql.js
  • library.js
  • library_auth.js
  • send_memo.js
  • start.js
  • unfollow.js
  • upvote_recent_from_trending_tags.js

See the README file on GitHub for a more detailed explanation of each of these files. There are instructions on how to configure each of the bots in the README file.

Commits:

Summary of Updates

Updates to Follow Bots/Library

Create a bot to follow all the followers or following of a specified user account. It also accepts an array of users to follow which can be specified in config.js. Change library.js to accept username username=config.steem.username which can be set in config.js. Update all bots that use library.js. Update deep_follow to use library and fix library_auth.getFollowing/ers functions to handle multiple calls but not at the same time.

Updates to Contest Bot

The generate_contest_winners bot now allows entries to be configured to filter entries by deadline and manual disqualifications. The configuration was added to allow contest to require resteems, graphics and certain URLs.

Road Map

The code needs to better set-up to run automatically. Up until now, these scripts have been manually executed from the command line. Tasks or crons need to be set-up to allow this. It might be a good idea to allow some or all of the configurations to be passed in as parameters instead of just being set in the configuration file.

Add functionality in the library for useful functions from the API up at https://github.com/steemit/steem-js/tree/master/doc This library would have working example and bots that use them as has been demonstrated before. The library will also take care of some of the lower lever interaction with the API.

This repository will be a collection of various types of bots that primarily focus on the follow functionality offered by Steem. Possibly, this codebase needs to be branded and renamed to get better exposure. There are potentially many different sample bots that could be added to this project. They will be simple bots that can be personalized for different needs either through configuration or development.

Related Posts

https://steemit.com/utopian-io/@money-dreamer/creating-follow-bot-w-nodejs
https://steemit.com/utopian-io/@money-dreamer/steem-follow-bot-updates
https://steemit.com/utopian-io/@money-dreamer/steemit-follow-bot-updates-ii
https://steemit.com/utopian-io/@money-dreamer/development-follow-bot-updates-iii



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Do you have any posts about creating a bot to work as an upvoter in steem bot tracker or are you willing to teach or can be commissioned to create? Please discord me at theuxyeti

I plan on making a bot like that and adding it to this code base. @sambillingham has a lot of good articles. You might want to suggest to him to write a tutorial on this.

hmm i am def reaching out to a bunch of people to understand it and how to go about doing this.

This looks it does that:

https://github.com/MattyIce/postpromoter

I won't support that since it is already done here. I'm thinking about poking around with that.

Ah ok yea i hit up post promoter

Hey @money-dreamer I am @utopian-io. I have just upvoted you!

Achievements

  • WOW WOW WOW People loved what you did here. GREAT JOB!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

What is the advantage of randomly following people? Particularly if you never intend to interact with them?

They are not random since I can choose them. I do plan on interacting with them. I will implement some more features to filter out the users to follow by different parameters such as reputation, balances, activity, etc...

Okay. That makes more sense. I wasn't sure what the endgame was for this type of bot. I have been meaning to experiment with bots a bit, but haven't had time. Thanks for the information.

@resteemator is a new bot casting votes for its followers. Follow @resteemator and vote this comment to increase your chance to be voted in the future!

I like it! I was thinking about doing something like this.

I’ll test out this bot!

Thank you for the contribution. It has been approved. Can you please state the source of the Image you are using.

You can contact us on Discord.
[utopian-moderator]

I updated it so I'm not using the generic image. It is from Pixabay.

I have not understood the library function for anything? can you explain with a little picture how to use it?
and what's API and how does it work?
please explain it because I am new in steemit
thank you @money-dreamer

Here are some posts I created to help you get started:

https://steemit.com/steem/@money-dreamer/steem-javascript-development-links

I will try to make something graphical in future development posts. Thanks!

Thanks @money-dreamer for information, this information is very useful for me

Sounds interesting! Looking forward to test it :D

Let me know how it goes and if you find any bugs.

Hopefully, it will work more effectively.
Nice development👍

great post, i would never have thought about following bots!
everyday something new is happening on this blockchain signs of bigger things to come.

Thank you for hosting ^.^;;

Coin Marketplace

STEEM 0.22
TRX 0.25
JST 0.039
BTC 95428.83
ETH 3314.03
USDT 1.00
SBD 3.16