this post was submitted on 17 Jun 2023
1121 points (98.8% liked)

Lemmy.World Announcements

29109 readers
4 users here now

This Community is intended for posts about the Lemmy.world server by the admins.

Follow us for server news 🐘

Outages 🔥

https://status.lemmy.world

For support with issues at Lemmy.world, go to the Lemmy.world Support community.

Support e-mail

Any support requests are best sent to info@lemmy.world e-mail.

Report contact

Donations 💗

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Ko-Fi (Donate)

Bunq (Donate)

Open Collective backers and sponsors

Patreon

Join the team

founded 2 years ago
MODERATORS
 

CEO Steve Huffman says tech giants should not be able to trawl Reddit’s huge store of data for free. But that information came from users, not the company

That “corpus of data” is the content posted by millions of Reddit users over the decades. It is a fascinating and valuable record of what they were thinking and obsessing about. Not the tiniest fraction of it was created by Huffman, his fellow executives or shareholders. It can only be seen as belonging to them because of whatever skewed “consent” agreement its credulous users felt obliged to click on before they could use the service.

Ouch

you are viewing a single comment's thread
view the rest of the comments
[–] Pika@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (1 children)

Yeah but if you're going to use the oauth 2 method you don't use the same API key as everyone, how that works is you authorize your account with the bot, the company gives you a bearer token and then that token is what's used for rate limits. The Bot client token is not used in that process, the oauth2 bearer token is

this is taken from the reddit Api docs: As of July 1, 2023, we will enforce two different rate limits for those eligible for free access usage of our Data API. The limits are:

If you are using OAuth for authentication: 100 queries per minute (QPM) per OAuth client ID
If you are not using OAuth for authentication: 10 QPM

so apperently I undershot it, it's actually 100 requests per minute not per hour like I originally thought it was

[–] spark947@lemm.ee 0 points 1 year ago (1 children)

Well, I don't know how the Reddit API works, but what you described is generally bad practice, as is my understanding. The Oauth token's allow the app to perform actions on the behalf of authenticated users, but they still need to use the reddit API, and I imagine an API key, to perform those actions. You generally aren't supposed to use Oauth as a access authentication mechanism.

At least pricing is per Oauth key, but still, the pricing burden is still going to fall on the developers for these apps who reddit now views as their "competitors", despite making a product that supported reddit's business for years.

[–] Pika@lemmy.world 1 points 1 year ago

Oauth 2 is an authorization standard, that's basically what it is meant for. It's intended to be used as a identification system for a client to be able to tell a first party hey I'm me through the usage of a third party without ever giving the third party to have your password.

Discord, Facebook/Meta, Google(most services), Soundcloud, all those use Auth 2 based API's, oauth 2 is used basically everywhere for the same focus that Reddit is trying to do

Like you said it can be dangerous if you authorize a third party app, honestly I'm willing to bet that rif and Apollo both used the oauth2 API at least in some part, otherwise I don't think it would have been able to allow you to upvote or downvote posts or post comments as you. A good way to tell if it was using it or not is if you had to login and it brought you to a page that said authorize this app with Reddit, if it showed that you were using oauth 2