third NS lab tomorrow

third NS lab tomorrow

di Tomaso Erseghe -
Numero di risposte: 0

Dear all,

for tomorrow lab we will need credentials to access Reddit.

Below is what you need to do

Best,

Tomaso Erseghe

------------ How to Create a Reddit application and obtain API credentials ------

  1. Go to Reddit's App Preferences:
    https://www.google.com/url?q=https%3A%2F%2Fwww.reddit.com%2Fprefs%2Fapps

  2. Create a New Application:

    • Ensure you’re logged in to your Reddit account.
    • Scroll down to the section titled "Developed Applications".
    • Click on the "Create App" or "Create Another App" button.
    •  
  3. Fill in Application Details:

    • Name: Enter a name for your application, such as "Reddit Data Downloader".
    • App Type: Select "script" (for personal, non-distributed use).
    • Description: Write a short description (e.g., "An app to download Reddit data").
    • About URL: Leave this blank unless you have a website for your app.
    • Redirect URI: Enter a redirect URI (e.g., http://localhost:8080).
    • Permissions: Leave as default.
    •  
  4. Create the Application:

    • After filling in all fields, click "Create app".
    •  
  5. Retrieve Your Credentials:

    • client_id: This alphanumeric string is located directly under the application name.
    • client_secret: Found in the application details and labeled as "secret".
    • Save these credentials securely, as they are needed to authenticate your API requests.