Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit b3931bf

Browse files
committed
Fix wording in docs to include default_graph_version as required
1 parent 70b60fe commit b3931bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/Facebook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ If any other value is provided an `InvalidArgumentException` will be thrown.
117117

118118
## Environment variables fallback
119119

120-
The only required configuration options are `app_id` and `app_secret`. However, the SDK will look to environment variables for the app ID and app secret.
120+
The only required configuration options are `app_id`, `app_secret` and `default_graph_version`. However, the SDK will look to environment variables for the app ID and app secret.
121121

122122
To take advantage of this feature, simply set an environment variable named `FACEBOOK_APP_ID` with your Facebook app ID and set an environment variable named `FACEBOOK_APP_SECRET` with your Facebook app secret and you will be able to instantiate the `Facebook\Facebook` service with only needing to specify the `default_graph_version` option.
123123

0 commit comments

Comments
 (0)