Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This module provides authentication services and a the Reddit OAuth2 API to perform actions against Reddit.

Currently, this module allows users to connect a Reddit account with the Drupal account. Once the user is connected, the module provides a generic function to call Reddit API actions. Available actions are listed here: http://www.reddit.com/dev/api/oauth

Requirements

  • libcurl ( Must be accessable via PHP. The curl Drupal module will enforce this requirement. )

Setup

  1. Setup Reddit app for Reddit OAuth to connect with
  2. Make a note of App ID and Secret
  3. Enter the redirect uri as `$base_url/reddit_oauth/connect` where `$base_url` is your Drupal URI. For example `http://mydrupalsite.com/reddit_oauth/connect`. The redirect uri that Drupal will send to Reddit is shown in the `/admin/settings/reddit_oauth` page for convience. That URI should be identical to what is in the Reddit redirect uri field.
  4. Enter App ID and Secret in the Drupal Reddit OAuth settings.

Status messages will try to prompt the user to correctly setup the module. Pay attention to the Drupal status page to verify that everything is configured.

Project information

  • Created by daveparrish on , updated