https://github.com/baeldung/reddit-app
https://github.com/baeldung/reddit-app
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/baeldung/reddit-app
- Owner: Baeldung
- Created: 2015-05-13T13:19:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-06-02T13:21:05.000Z (almost 2 years ago)
- Last Synced: 2024-05-02T06:05:37.966Z (about 1 year ago)
- Language: Java
- Size: 1.4 MB
- Stars: 100
- Watchers: 12
- Forks: 60
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Configure the Application
To run the project, you first need to modify (`src/main/resources/*.properties`) based on your environment.
- To set (`reddit.properties`) correctly, you need to create your reddit app by following [this guide] (https://github.com/reddit/reddit/wiki/OAuth2)
- Also make sure to provide valid email configuration in (`email.properties`)## Create Your Own Reddit App
1. First, go to your [Reddit Preferences page] (https://www.reddit.com/prefs/apps).
2. Click **Create an app** button:
- **Name**: The name you have chosen for your app.
- Choose the type of the app to be **web app**.
- **Description**: Write the description of your app (optional).
- **About url**: url of your application (optional).
- **Redirect uri**: Very Important, the callback url to be redirected to after obtaining access token [http://localhost:8080/reddit-scheduler/redditLogin](#)### Relevant Articles:
- [Schedule Post to Reddit with Spring](http://www.baeldung.com/spring-schedule-posts-to-reddit)
- [Simple AngularJS Front-End for a REST API](http://www.baeldung.com/angular-js-rest-api)
- [Post a Link to the Reddit API](http://www.baeldung.com/spring-security-oauth-post-to-reddit)
- [Authenticating with Reddit OAuth2 and Spring Security](http://www.baeldung.com/spring-security-oauth2-authentication-with-reddit)**NOTE**: this repository is no longer upgraded.