code: protected void configureFacebookClient(final Collection<BaseClient> properties) {
          val fb = pac4jProperties.getFacebook();
          if (StringUtils.isNotBlank(fb.getId()) && StringUtils.isNotBlank(fb.getSecret())) {
              val client = new FacebookClient(fb.getId(), fb.getSecret());
  
              configureClient(client, fb);
              if (StringUtils.isNotBlank(fb.getScope())) {
                  client.setScope(fb.getScope());
              }
  
              if (StringUtils.isNotBlank(fb.getFields())) {
                  client.setFields(fb.getFields());
              }
              LOGGER.debug("Created client [{}] with identifier [{}]", client.getName(), client.getKey());
              properties.add(client);
          }
      }
docs: Configure facebook client.
  
  @param properties the properties