diff --git a/examples/README.md b/examples/README.md index a95d6ff..d041622 100644 --- a/examples/README.md +++ b/examples/README.md @@ -18,7 +18,7 @@ composer install 2. Configure your API credentials in `_includes.php` or set environment variables: ```php $config = [ - 'environment' => 'integration', // or 'beta', 'production' + 'environment' => 'beta', // or 'production' 'appKey' => 'YOUR_APP_KEY', 'redirectUri' => 'http://localhost:8080/examples/oauthResponse.php' ]; diff --git a/examples/_includes.php b/examples/_includes.php index ed486e2..2764aa2 100644 --- a/examples/_includes.php +++ b/examples/_includes.php @@ -6,7 +6,7 @@ $fs = new FamilySearch([ 'environment' => 'sandbox', - 'appKey' => 'a02j000000CBv4gAAD', + 'appKey' => 'YOUR_APP_KEY_HERE', // Replace with your FamilySearch developer app key 'redirectUri' => calculateBaseUrl() . '/examples/oauthResponse.php', ]);