Editing Intro to Programming and Data Science (Fall 2023)/Reddit authentication setup
From CommunityData
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 12: | Line 12: | ||
#* For the application type, select "Script" and submit. | #* For the application type, select "Script" and submit. | ||
# Create a new .py file called reddit_authentication.py that looks something like: | # Create a new .py file called reddit_authentication.py that looks something like: | ||
client_id = "_anb- | client_id = "_anb-xipuqf7jA9wzeMqZ" | ||
client_secret = " | client_secret = "4kXxiBOFdPY1HBw4gm6oiTYbWkFgz" | ||
* The client_id is found at the top left of the apps page, under your app's name. The client secret is right under that. | * The client_id is found at the top left of the apps page, under your app's name. The client secret is right under that. | ||
We'll use this authentication file in the future. | We'll use this authentication file in the future. |