Last Updated: February 25, 2016
·
275
· albertstartup

Get accounts-reddit working in Meteor.js

As of 3/9/15

  1. https://atmospherejs.com/?q=reddit

  2. meteor add cw4gn3r:accounts-reddit

  3. meteor add accounts-ui

  4. In client:
    html:
    {{> loginButtons}}

  5. Click the login button, follow the guide.

  6. In client:

    javascript:

    Accounts.ui = {};
    Accounts.ui.options = {};
    Accounts.ui.
    options.requestPermissions = {};
    Accounts.ui.options.requestPermissions['reddit'] = ['identity'];
    Accounts.ui.
    options.requestOfflineToken = {};

  7. Click the login button.

1 Response
Add your response

dont follow, still testing

over 1 year ago ·