I'm currently building a discord server for my community and I'm starting to dip into webhooks.
I'm following a tutorial to make one for my twitter feed but I'm wondering if I can also set them up for new Fansly posts or even live notifications for my camsites. Does anyone know how viable that would be?
I have zero coding experience and I don't want to waste several hours of noodly research before discovering that it's not possible, but if it is I wants it.
It would be possible, it might not be as straight forward as something that has built in webhooks (i dont use fansly or discord but when it comes to connecting web services anything you can think of you can do, you just need a way to access the data so you can manipulate it).
The biggest issue you will have with something like fansly is the fact the content is behind a paywall and they dont provide any webhooks or api's, so you will need to authorise the request to be able to access the feed to check if there's anything new.
I would do this with selenium and python, it tends to be my goto for setting up pretty much everything I have made, where you would basically launch a browser (you can disable the window) give it log in creds, either yours or set up a member account and give it free access and have it store some kind of information about the last upload either in a text file or a database (if your only checking if the last upload matches the last upload shown on the last run then a text file is probably good enough). Now your bot can tell you if a post is new or not. If it finds a new post then you will have it open discord through the discord api and let it know what to post. Then to automate it you would want to set up windows task scheduler to run it every x amount of hours / minutes (cron is the task scheduler on mac and linux)
WIth 0 coding experience making the bot to login to fansly shouldn't take too long, maybe a couple of hours to a day
(DevEd on youtube has a good tutorial on using python and selenium, you'll have your first web bot up and running in under an hour, then it's just playing around and googling for extra bits of code that make it do specific things. Dont worry about understanding exactly how everything works, just follow the tutorial until it runs, then change what you think needs changing to make it do what you want instead and any errors / a little bit of google will give you the understanding of why what you tried didnt work.)
api's though can be very simple, or very complex and the documentation can range from easy to read and well explained to just listing out all the functions and not telling you how to use them. It would be a fair amount of run it, dosnt work, put error into google, go to a stackoverflow post on it, try that, get new error and repeat until no more errors
That's just the way that I would do it, break it down into chunks, like make a bot that can get some info that identifies the last post, then make it compare if last post = stored last post. Then learn how to send messages into discord through the api, then try and mash those things together.
A better option than checking if your room is online might be to just have a script that you run that posts your "im online" notification everywhere. less messing about that way.