this post was submitted on 07 Apr 2024
13 points (100.0% liked)

Android Development

477 readers
1 users here now

Welcome to the programming.dev Android development community!

The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License

founded 1 year ago
MODERATORS
 

So, my boyfriend and I are making this Android app. My first post for more info. I was wondering if mastodon has an OAuth feature where I could use to sign in with it via my Android app.

I’m also wondering in that in terms of API, do most programmers mean the key (API Key) or a way for a program to integrate anonymously with a platform.

Likewise, I’ve always been confused when it came to API access. Looking for clarification.

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 2 months ago

I think you mean "OAUTH" not "OATH". That might make your search for information easier.

Sorry, I don't know much about OAUTH and even less about Mastodon.

[–] testeronious 3 points 2 months ago* (last edited 2 months ago)

I never developed anything for mastodon, but I searched "mastodon developer docs" and found a link for API specifications https://docs.joinmastodon.org/api/

There's a section for OAuth in there, hope this helps you.

UPDATE: It doesn't seem to need an API key, since the website never mentions it. Here's another doc to get started with their API: https://docs.joinmastodon.org/client/intro/