Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

82
[reddit change] Permanent OAuth grants (using refresh tokens)
Author Summary
intortus is in reddit change
Post Body

reddit now supports OAuth 2 refresh tokens. You can now ask users for long-term grants on the /api/v1/authorize page by adding the duration=permanent parameter to the query string. If the user allows this authorization, you will receive a refresh_token when you fetch the access code from /api/v1/access_token. Whenever your access token expires, you can obtain a new one from /api/v1/access_token by using the refresh token you were given and grant_type=refresh_token (until the user revokes the grant).

In addition, the lifetime of access tokens has been extended from 10 minutes to an hour.

see the code on github

Author
Account Strength
100%
Account Age
16 years
Verified Email
Yes
Verified Flair
No
Total Karma
27,988
Link Karma
6,564
Comment Karma
21,314
Profile updated: 2 days ago
Posts updated: 9 months ago

Subreddit

Post Details

Location
We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
12 years ago