Skip to content

How do I make my live follower count work #348

Closed Answered by kRxZykRxZy
snoopythe3-from-scratch asked this question in Q&A
Discussion options

You must be logged in to vote

this should work

import scratchattach as sa
import time
session = sa.login('snoopythe3', 'password')
cloud = session.connect_scratch_cloud("1137286392")
user = session.connect_linked_user()
while True:
    cloud.set_var("Followers", user.follower_count())
    time.sleep(2)

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@TheCommCraft
Comment options

Comment options

You must be logged in to vote
1 reply
@snoopythe3-from-scratch
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by TheCommCraft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants