Guidelines

Create Facebook App

  1. Navigate to https://developers.facebook.com/apps/
  2. Log in with your Facebook credentials if you are not logged in.
  3. Click on the “Create App” button.
  4. Optional: choose a “Business portfolio” if you would like to. If you didn’t choose a “Business portfolio” at this point, you will need to select it in step 23, before you start the “Verification“!
  5. Click on the “Next” button and choose the “Authenticate and request data from users with Facebook Login” option!
  6. Click on the “Next” button and fill the “Add an app name” and “App contact email” fields. The specified app name will appear on your Consent Screen!
  7. Click on the “Next” button, read the documents listed below the requirements then press the “Create App” button.
  8. Complete the security check if you are prompted with the modal.
  9. Click on the “Use cases” tab on the left side and then click on the “Customize” button that appears next to the “Authenticate and request data from users with Facebook Login” item.
  10. Below the “Permissions” section, find the “email” permission and click on the “Add” button.
  11. Press the “Settings” option that you can find below the “Facebook Login” section.
  12. Add the following URL to the “Valid OAuth redirect URIs” field:
    • https://www.aprendatorah.com.br/wp-login.php?loginSocial=facebook
  13. Click on the “Save changes” button. (If you receive a blank page after you pressed the “Save changes” button, you might need to refresh the page.)
  14. On the left side in the side bar, click on the gear icon ( “App settings” ) then click “Basic“.
  15. Enter your domain name to the “App Domains” field, probably: aprendatorah.com.br
  16. Fill up the “Privacy Policy URL” field. Provide a publicly available and easily accessible privacy policy that explains what data you are collecting and how you will use that data.
  17. Fill up the “Terms of Service URL” field. Provide a publicly available terms and conditions page link, where you describe the rules and guidelines that your visitors must agree to.
  18. At “User Data Deletion“, choose the “Data Deletion Instructions URL” option, and enter the URL of your page* with the instructions on how users can delete their accounts on your site.
    • To comply with GDPR, you should already offer possibility to delete accounts on your site, either by the user or by the admin:
      • If each user has an option to delete the account: the URL should point to a guide showing the way users can delete their accounts.
      • If the accounts are deleted by an admin: then you should have a section – usually in the Privacy Policy – with the contact details, where users can send their account erasure requests. In this case the URL should point to this section of the document.
  19. Select a “Category“, an “App Icon“.
  20. Scroll down to the bottom of the page, press the “+ Add platform” button.
  21. Select “Website” platform, then press “Next” and enter the following URL into the “Website > Site URL” field: https://www.aprendatorah.com.br
  22. Press the “Save changes” button.
  23. By default, your application only has Standard Access for the “public_profile” and “email” permissions, which means that only you can log in with it. To get Advanced Access you will need to go trough the Business Verification, that you can start on the “Review > Verification” tab on the left side.
  24. After a successful Business Verification, you need to go to the “Review > App Review” tab, and open the review request with the “Edit” button. Fill in any missing fields here, then submit the form for review, and wait until it is approved by Meta, which may take several days.
  25. Once your verification is completed, click on the “Publish” tab.
  26. To obtain access to permissions, you must answer some questions about your data handling practices, click on the “Go to data handling questions” link, that you find next to “Data handling questions” and answer questions about the data handling.
  27. Currently your app is in Development Mode which also means that people outside of your business can not use it. To change this, click on the “Publish” option on the left side again, and publish your app by clicking on the blue “Publish” button at the bottom right corner.
  28. After everything is done, click on the “App settings” tab, then click “Basic“.
  29. At the top of the page you can find your “App ID” and you can see your “App secret” if you click on the Show button. These will be needed in plugin’s settings.

Create Google App

  1. Navigate to https://console.developers.google.com/apis/
  2. Log in with your Google credentials if you are not logged in.
  3. If you don’t have a project yet, you’ll need to create one. You can do this by clicking on the blue “Create Project” text on the right side! ( If you already have a project, then in the top bar click on the name of your project instead, which will bring up a modal and click “New Project”. )
  4. Name your project and then click on the “Create” button again!
  5. Once you have a project, you’ll end up in the dashboard. ( If earlier you have already had a Project, then make sure you select the created project in the top bar! )
  6. Click the “OAuth consent screen” button on the left hand side.
  7. Choose a User Type according to your needs and press “Create“. If you want to enable the social login with Google for any users with a Google account, then pick the “External” option!
    • Note: We don’t use sensitive or restricted scopes either. But if you will use this App for other purposes too, then you may need to go through an Independent security review!
  8. Enter a name for your App to the “App name” field, which will appear as the name of the app asking for consent.
  9. For the “User support email” field, select an email address that users can use to contact you with questions about their consent.
  10. Fill the “Application home page” field with the url of your homepage, probably: https://www.aprendatorah.com.br
  11. Enter your privacy policy and terms of service links into the “Application privacy policy link” and “Application terms of service link” fields.
  12. Under the “Authorized domains” section press the “Add Domain” button and enter your domain name, probably: aprendatorah.com.br without subdomains!
  13. At the “Developer contact information” section, enter an email address that Google can use to notify you about any changes to your project.
  14. Press “Save and Continue” then press it again on the “Scopes”, “Test users” pages, too!
  15. On the left side, click on the “Credentials” menu point, then click the “+ Create Credentials” button in the top bar.
  16. Choose the “OAuth client ID” option.
  17. Select the “Web application” under Application type.
  18. Enter a “Name” for your OAuth client ID.
  19. Under the “Authorised redirect URIs” section click “Add URI” and add the following URL:
    • https://www.aprendatorah.com.br/wp-login.php?loginSocial=google
  20. Click on the “Create” button
  21. A modal should pop up with your credentials. If that doesn’t happen, go to the Credentials in the left hand menu and select your app by clicking on its name and you’ll be able to copy-paste the “Client ID” and “Client Secret” from there.
  22. Currently your App is in Testing mode, so only limited number of people can use it. To allow this App for any user with a Google Account, click on the “OAuth consent screen” option on the left side, then click the “PUBLISH APP” button under the “Publishing status” section, and press the “Confirm” button.