A few years ago I created a Telegram channel which pulls around 10 top voted news every day from r/Vancouver and post it there: https://t.me/vancitynews It’s a handy way to get local news, try it out
Now I’m thinking: Is it a good idea to automatically post those news here to spark a discussions and make this community more alive? Is it even allowed to automatically post anything? What do you think?
I’m pretty sure that the new Reddit policy will not affect my channel which calls reddit.com just a handful times per day
Check out the way this project is doing it. Looks like it’s just a post to an endpoint that gets a jwt
https://github.com/db0/pythorhead/blob/main/pythorhead/auth.py
Thanks, works as a charm. Just created (and deleted) my first post programmatically. I managed to do it with using Lemmy.ca instance, but not through the account hosted on Lemmy.world. Why?
That’s awesome to hear seeing as though this is the code I was planning on using for my project. As for your issue, it looks like you set the URL when you create the class object here
lemmy = Lemmy(“https://lemmy.dbzer0.com”)
Did you put the lemmy.ca URL in there? Try changing that to the lemmy.world URL and see if it works like you expect