#SteemSilverGold Auto-Add MemberssteemCreated with Sketch.

When I joined the SteemSilverGold community I was faced with a massive list of existing members to follow. The premise of the community is all members follow all members and collectively share and support one another's content about physical gold and silver and other related topics. There was no way in hell anyone was going to sit there for hours manually following a list. A quick Python script was the best alternative.


The pic above is a gold python, which I thought was appropriate for this post. Came from here; an article about the best possible use of a python.

Credit

Since I never coded anything in relation to Steemit before I went ahead and forked the f-4-f Python script by @chinadaily which can be found here. I haven't spoken to him about forking it so if there's an issue I'll take it down.

SteemSilverGold Members

I got this list from @pawos' post with the updated member list for the community. It's manually entered although I meant to set some time aside and have it as an import.

These members aren't alphabetical. You can alphabetize them as you wish. Add the new joins to it when @pawos updates the list of members.

Code

import time
from steem import Steem

account = 'youraccountgoeshere'

steem=Steem(keys='yourkeygoeshere')

members = ['@honestvalue','@hoss403','@htliao','@hydroconomist','@irfo1','@jameswhite',
'@jangaladesigns','@jdawg','@j0hndayt0n','@kabrink','@kingmoise','@lesvizable','@locos',
'@longshot','@lucky.digger','@lulita','@madein-hisimage','@maneco64','@marcfrvncis',
'@melke','@midastouch','@missiontothemoon','@mittenmetals','@motowngold',
'@nenio','@nolnocluap','@oleg326756','@ozmaga','@ozz','@pawos','@pearlcore',
'@phelimint','@raybrockman','@richard78624','@rolf.bakker','@ronnieramli','@roop',
'@runaway-slave','@sanction','@sevinwilson','@shenanigator','@silverbug','@silverdroneman',
'@silverfortune','@silverfuture','@silverino','@silvernova','@silverslayer','@sirknight',
'@sminchow','@speckofdust','@spicyer','@stackin','@stokjockey','@tbnfl4sun',
'@thecoolplayer','@thedamus','@theswede','@timitwist','@topslim','@traderyen',
'@tremendospercy','@tylersilver','@tzcap','@unclehermit','@underground','@walktothewater',
'@wickedlettuce','@famcore','@finkavenue','@gemstoned','@goldenarms','@goldgoatsnguns',
'@goldkey','@goldmatters','@greenstar','@gregmurphy','@grizzman','@guiltyparties',
'@handofzara','@harleymechanix','@hgmsilvergold','@hiphoplifer','@agscotskiwi','@ajain',
'@anothervoice','@bi5h0p','@blackrussian','@bola','@brian-debbie96','@buster544','@calam',
'@ckz','@coinquest','@coldpie','@collector4life','@coolbowser','@crowe','@cve3','@daadog',
'@displacer','@edthecanadian','@ereandthere','@ewspears','@agscotskiwi','@cve3','@phelimint']

def get_FollowedMembers(account, steem):
        list = []
        offset = ''
        while True:
                temp = steem.get_FollowedMembers(account, offset, 'blog', 100)
                if (len(temp) < 100):
                        list += temp
                        break

                offset = temp.pop()['FollowedMembers']
                list += temp

        FollowedMembers = [x['FollowedMembers'] for x in list]
        return FollowedMembers

for m in members:
    steem.follow(m, what=['blog'], account = account)
    print('Members ({}) added successfully!'.format(m))
    time.sleep(10)

Bandwidth

The reason I didn't bother doing anything with those already followed is because re-following doesn't particularly matter.

Each follow transaction seems to take off 0.05% off my bandwidth at a current 48 SP and 62 VP. This is with the sleep timer at 10 seconds. Setting it slightly higher will completely eliminate the bandwidth concern. The recharge speed nearly matches the discharge speed at 10 second intervals and the effect is thus negligible.

Use

There are a lot of posts on how to run a Python script and Python in general so I won't bother going over that here. Ask in the comments if you need extra help.


vet_for_edit_extrasmall.png

Sort:  

I agree it's a long task going thru the list, but love the community.

This post is AWESOME because I needed some entry into programmatically working with steem. I am a programmer, but I did not have a starting point.

However, as for the point of following, I recommend actually FOLLOWING these new members, not just hitting the 'Follow' button.

What I mean is that when there is new member that I am not following, then I go to their blog to see if there is something that I could comment on. Maybe, just comment on their introduction. Maybe just comment on their latest post.
I think I was in with the first 80 members and I went through those 80 members individually to try to find something in common. It was easy and beneficial. I got a lot of understanding about the people in this community.
This is an AWESOME community.

You can try adding the import function to the script if you want.

Agreed regarding actually following. What I do is pull up the tag daily and read what interests me, that's my way of keeping up with the community, particularly since new members are joining daily. I have attempted to do what you did but gota be honest here man, I gave up after the first 5 since it took me an hour. I'm a freelancer and my time isn't as flexible as it seems. There are too may great posts of interest and quality.

Can count me in?

@pawos has to add you to the official list

@pawos has to add you to the official list

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.028
BTC 60249.61
ETH 2321.35
USDT 1.00
SBD 2.51