I found the API documentation but it seems to be lacking. If someone wanted to create a bot to moderate their magazine, how do they authorize the bot? For example, Reddit had Oauth documentation.

I am completely new to this fediverse stuff so excuse my lack of knowledge if I’m missing something.

  • Kabaka@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    3 years ago

    there’s nothing stopping anyone from making mobile apps are alternative web front-ends

    The biggest thing stopping people is the fact that the API does not actually work. As far as I can tell, every API endpoint (slowly) returns:

    {
        "@context": "/api/contexts/Error",
        "@type": "hydra:Error",
        "hydra:title": "An error occurred",
        "hydra:description": "Internal Server Error"
    }
    
    

    In order for anyone to build new clients, the API first needs to be finished. Unfortunately, the choice of using PHP/Symfony is going to hinder that due to its incredibly low popularity. I got my start in software engineering by professionally writing PHP, but I haven’t touched it in at least 15 years.

    I’m currently trying to find my way around kbin-core, and it is a mess. There are almost no comments (and some commented-out code with no explanation), huge amounts of what I assume are stubs, and the commit log is a nightmare (commit descriptions are meaningless and repeated, like four commits in a row with only “Post expand fix” as a description).

    This needs a lot of work before anyone should start trying to build API integrations.