Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

post to reddit #12

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

post to reddit #12

wants to merge 14 commits into from

Conversation

ronnyli
Copy link

@ronnyli ronnyli commented Oct 22, 2017

WIP #11

@hsbakshi just wanted to get your feedback on the direction so far. Feel free to criticise code quality, clarity, etc. since I'm quite new to frontend development and would appreciate the tips. Thanks!

NOTE 1: the clientId value in background.js needs to be replaced with your own. See the comments below for instructions on how to do that.

background.js Outdated
@@ -144,4 +144,66 @@ function setBadge(title, text, badgeColor, alienIcon, tab) {
})
}

function getSnoowrap(interactive, callback) {
'use strict';
var clientId = 'JM8JSElud0Rm1g';
Copy link
Author

@ronnyli ronnyli Oct 22, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The client ID value here has to be replaced with your own client ID. To get this value, go in to the preferences section of your Reddit account and click apps. Create an installed app and set its redirect url to https://<CHROME_EXTENSION_ID>.chromiumapp.org/provider_cb. After creating the app you should see a client ID which you can copy-paste into this line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant