Status changing API?
Author | Topic |
---|---|
vukky |
Posted 2022-09-27 17:44:00
Since I am now on 3 (!) different status sites, changing all of them by hand gets a little annoying. Therefore I was thinking about making a web-based tool that can change all three of them. However, status.cafe does not appear to have an API I can use to set a status. Is this a feature somewhere, or will you add it soon(tm)? Last edited on 2022-09-27 17:44:35 |
bucketfish |
Posted 2023-01-09 14:01:18
came here looking for this too! the status posting script seems to be in the status updater bookmarklet/widget, but i doubt that'd be usable.... right? haven't given it a shot yet. also, which are the other status sites, that sounds fun 👀 |
o_o |
Posted 2023-05-27 01:37:44
i found the api it uses internally. here's a minimal example using javascript: const formData = new FormData(); formData.append("gorilla.csrf.Token", ""); // run this javascript on the homepage to find it: document.querySelector("form > input[type=hidden]").value formData.append("face", "🤖"); formData.append("content", "yo"); fetch("/add?silent=1", { method: "POST", body: formData, }); i assume it's fine to use this as the tos doesn't say you can't programmatically make statuses, right? Last edited on 2023-05-27 01:39:57 |
m15o |
Posted 2023-06-01 05:38:03
That's all fine! |