427
you are viewing a single comment's thread
view the rest of the comments
[-] otter@lemmy.ca 30 points 7 months ago
from Lemmy import Upvote
from Fediverse import Posts
from ActivityPub import Submit

target_post = 'https://lemmy.ca/post/18691085'
num_votes = 8

post = Posts.open(target_post)

package = Upvote(post, num_votes)

package.Submit(target_post)

or something

this post was submitted on 03 Apr 2024
427 points (89.2% liked)

Programmer Humor

32562 readers
317 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS