We need more permissions from our reddit app.

pull/38/head
David Trail 10 years ago
parent 2e9beb1d91
commit fb8effe387

@ -22,7 +22,7 @@ r = praw.Reddit('Shreddit refresh token grabber')
try: try:
r.refresh_access_information() r.refresh_access_information()
except HTTPException: except HTTPException:
url = r.get_authorize_url('uniqueKey', 'identity', True) url = r.get_authorize_url('uniqueKey', ['identity', 'read', 'vote', 'edit'], True)
print("Please open: ", url) print("Please open: ", url)
access_key = input("Enter your access key (secret param): ") access_key = input("Enter your access key (secret param): ")
deets = r.get_access_information(access_key) deets = r.get_access_information(access_key)

Loading…
Cancel
Save