## Access Facebook's API
Once a user successfully authenticates, Facebook will include an <dfn data-key="access-token">Access Token</dfn> in the user profile it returns to Auth0. You can use this token to call Facebook's API.

To get the Facebook Access Token, you must retrieve the full user's profile using the Auth0 Management API and extract the Access Token from the response. For detailed steps, see [Call an Identity Provider's API](/connections/calling-an-external-idp-api).

Using the token, you can call Facebook's API following Facebook's documentation.

Optional: Get a <dfn data-key="refresh-token">[Refresh Token](/tokens/guides/get-refresh-tokens)</dfn> from Facebook to refresh your Access Token once it expires. To ensure your application is secure, pay close attention to the [restrictions on using Refresh Tokens](/tokens/concepts/refresh-tokens#restrictions-and-limitations).
  "idp": "Facebook"
}) %>
Facebook lets you select the minimum version of the Facebook API that is available to the application. This can be changed in the in the 'Settings/Advanced' section of your application in the Facebook developer portal. 
Auth0 has been tested with version 3.2. We recommend setting that as the minimum version, but it could work with newer versions.

## Access Facebook's API

Once a user successfully authenticates, Facebook will include an <dfn data-key="access-token">Access Token</dfn> in the user profile it returns to Auth0. You can use this token to call Facebook's API.

To get the Facebook Access Token, you must retrieve the full user's profile using the Auth0 Management API and extract the Access Token from the response. For detailed steps, see [Call an Identity Provider's API](/connections/calling-an-external-idp-api).

Using the token, you can call Facebook's API following Facebook's documentation.

Optional: Get a <dfn data-key="refresh-token">[Refresh Token](/tokens/guides/get-refresh-tokens)</dfn> from Facebook to refresh your Access Token once it expires. To ensure your application is secure, pay close attention to the [restrictions on using Refresh Tokens](/tokens/concepts/refresh-tokens#restrictions-and-limitations).

Facebook lets you select the minimum version of the Facebook API that is available to the application. This can be changed in the in the 'Settings/Advanced' section of your application in the Facebook developer portal. 

Auth0 has been tested with version 3.2. We recommend setting that as the minimum version, but it could work with newer versions.

Update Facebook installation guide content
Update Facebook installation guide content

Looks like the include worked but it left some of the code. [See this commit](https://github.com/auth0/docs/commit/4390b7d686b846bc18a567b6cb7f20b2497ce90c#diff-dd7c86152497ab9dbd517c1ffce1682bL72)