InstructablesApi

I am trying to get the stats on my Instructables page to display on the serial monitor, but I keep getting this error: Error compiling for board ESP32 Dev Module.
I am using the ESP32. Here is the example code from Brian Lough and yes, I've installed all the libraries. I have also added my Wi-Fi credentials, but for the sake of this question I've left them out.

/*********************************************************************
 *  Read Instructables Author statistics from the Instructables API  *
 *                                                                   *
 *  By Brian Lough                                                   *
 *  https://www.instructables.com/member/witnessmenow/instructables/ *
 *********************************************************************/

#include <InstructablesApi.h>

// ----------------------------
// Standard Libraries - Already Installed if you have ESP32 set up
// ----------------------------

#include <WiFi.h>
#include <WiFiClientSecure.h>

// ----------------------------
// Additional Libraries - each one of these will need to be installed.
// ----------------------------

#include <ArduinoJson.h>
// Required by the InstructablesApi Library for parsing the response
// Available on the library manager (Search for "arduino json")
// https://github.com/bblanchon/ArduinoJson

//------- Replace the following! ------
char ssid[] = "***";       // your network SSID (name)
char password[] = "***";  // your network key
#define SCREEN_NAME "***" //Replace with your instructables user name
//#define INSTRUCABLE_ID "Zelda-Treasure-Chest-With-Lights-Sound" // Makes up the end of the URL for the instructable
// e.g. : https://www.instructables.com/id/Zelda-Treasure-Chest-With-Lights-Sound/

WiFiClient client;
InstructablesApi api(client);

unsigned long delayBetweenRequests = 5 * 60000; //time between api requests (5mins)
unsigned long whenDueToCheck;

void setup() {

  Serial.begin(115200);

  // Attempt to connect to Wifi network:
  Serial.print("Connecting Wifi: ");
  Serial.println(ssid);

  WiFi.mode(WIFI_STA);
  WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    Serial.print(".");
    delay(500);
  }
  Serial.println("");
  Serial.println("WiFi connected");
  Serial.println("IP address: ");
  IPAddress ip = WiFi.localIP();
  Serial.println(ip);

  // Uncomment to enable debug Serial Prints
  // api._debug = true;
}

void loop() {

  if (millis() > whenDueToCheck)  {
    instructablesAuthorStats stats;
    stats = api.getAuthorStats(SCREEN_NAME);
    if(stats.error.equals(""))
    {
      Serial.println("---------Author Stats---------");
      Serial.print("Views: ");
      Serial.println(stats.views);
      Serial.print("Followers: ");
      Serial.println(stats.followersCount);
      Serial.print("Instructables Count: ");
      Serial.println(stats.instructablesCount);
      Serial.print("Featured Count: ");
      Serial.println(stats.featuredCount);

      // The following variables are available from the response (e.g. stats.collaborationsCount)
      /*
      long commentCount;
      long views;
      long featuredCount;
      long favoritesCount;
      long instructablesCount;
      long publishedCollectionsCount;
      long lessonCount;
      long courseCount;
      long topicsCount;
      long questionsCount;
      long answersCount;
      long bestAnswersCount;
      long followersCount;
      long subscriptionsCount;
      long collaborationsCount;
      String error // This will be blank if it gets in here
      */
      Serial.println("------------------------");
    } else {
      Serial.print("Error getting Author Stats: ");
      Serial.println(stats.error);
    }

    /*
    instructableStats postStats;
    postStats = api.getInstructableStats(INSTRUCABLE_ID);
    if(postStats.error.equals(""))
    {
      Serial.println("---------Post Stats---------");
      Serial.print("Views: ");
      Serial.println(postStats.views);
      Serial.print("Favorites: ");
      Serial.println(postStats.favorites);
      Serial.print("Comments: ");
      Serial.println(postStats.comments);
      Serial.println("------------------------");
    } else {
      Serial.print("Error getting Post Stats: ");
      Serial.println(postStats.error);
    }
    */

    whenDueToCheck = millis() + delayBetweenRequests;
  }
}

plz help me brain I haven't used Arduino in a year.

keep getting this error: Error compiling for board ESP32 Dev Module

We need to see the rest of the error listing.

Did the error mention the word "scope"?