Reddit's API Changes
github.com
github.com
func (c *Client) generateResultData(epoch int64) string {
return fmt.Sprintf("Epoch:%d|User-Agent:%s|Client-Vendor-ID:%s", epoch, c.userAgent, c.clientVendorID)
}
func (c *Client) generateBodyData(epoch int64, body []byte) string {
return fmt.Sprintf("Epoch:%d|Body:%s", epoch, string(body))
}
func hmacSignData(data string) string {
digester := hmac.New(sha256.New, []byte(REDDIT_ANDROID_HMAC_SECRET))
digester.Write([]byte(data))
return hex.EncodeToString(digester.Sum(nil))
}
REDDIT_ANDROID_OAUTH_CLIENT_ID = "ohXpoqrZYub1kg"
REDDIT_ANDROID_HMAC_SECRET = "8c7abaa5f905f70400c81bf3a1a101e75f7210104b1991f0cd5240aa80c4d99d"
And then use: https://oauth.reddit.com/r/%s/about.json
https://oauth.reddit.com/r/%s/top.json
https://oauth.reddit.com/search.json
etc.There's cool little parameters like rich text element, and other RPAN generally not available to the normal api.
Would really like to see an alternative that doesn't get taken over by nasty vagrants banned from other platforms.
It completely killed my spirit for wanting to engage with my local subreddit. This wasn't an isolated incident. I had submitted local news articles previously to the city subreddit only for it to be instantly "shadow banned" (appeared for me, not for others) due to keywords used in the article title. When messaging the moderators asking why the thread wasn't appearing, I never received a response.
No recourse. No accountability.
The international subreddits are much more awful than the American ones because they are moderated along American lines despite the cultural and political differences, and always dominated by uneducated American expats who seemingly have no understanding of world cultures or how local cultures interact with the world.
Reddit have had retention issues. They did not mandate email address for years which meant they did not take much data from their users, unlike meta and google.
They aren’t just monetizing they are editing which content shows up in the API, so it’s not just a matter of passing on costs, it’s a question of driving users to the corporate platforms.
We need an open pledge with consequences for companies who offer APIs at this point. Like Twitter, Reddit is screwing their third party ecosystem for shareholder metrics that will help their valuation, and it seems like it’s the pattern over-and-over again.
The shittification of the user experience always happens when the investors want to get paid, and the third parties that invested their lives and livelihoods into the companies precious promises are holding the bag as always. I feel like Reddit used their third party developers and joe are straight up harvesting their efforts — what dev is ever going to want to do this again?
Makes it almost impossible to warrant the effort of building a third party API-based ecosystem. I wonder if that’s something that can be fixed with licenses or something?
'Either the API gets blocked for third-party clients, or you purchase a high price for it.' [0]
Got to be a hybrid of decentralized and centralized so you can replace it now with an equivalent and then harden it to interference and embolden encryption and hacker ethics over time as social media platforms get sucked in to late empire control complexes.
Is that possible technically? I can see it in my head but I don’t know how to create it.
Your girlfriend/boyfriend might be interested in your marriage plans, but your friends might be more interested in talking about games. The former might be horrified at you playing shooting games, and the latter might be horrified that you want kids. In real life the two things would be segregated, but social media is often merged and it's impossible to separate the two.
Social media has got very mass market in recent years and the civil intelligent discussions that you would have when only [traditional] geeky types were around, even between people of differing political views, have gone down the drain. But the main problem with Reddit was that it was too over-zealous with moderation after the Trump election, and it's basically been a downward hill since then since the echo chamber bandwagon just gets more and more self-fulfilling. It's silly to the point many international subreddits are utterly non-sensical and sometimes racist to the country the subreddit covers!
They've gotten fantastic in the last few years. Are lighthearted, comprehensive, tend to have less weirdos (really) and have a moderation log that notifies you what and why it was removed.
Also, Facebook is a more representative slice of America than Reddit or Twitter.
It also supports the Reddit GDPR archive format, so you can fetch your whole history of comments/posts (which isn't possible to page via the API).