# How can I get Facebook access\_token after the user has authenticated?

**URL:** <https://community.auth0.com/t/how-can-i-get-facebook-access-token-after-the-user-has-authenticated/6455>\
**Category:** Get Help\
**Tags:** access\_token\
**Created:** [May 3, 2017, 8:22am UTC](https://community.auth0.com/t/how-can-i-get-facebook-access-token-after-the-user-has-authenticated/6455 "2017-05-03T08:22:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuongaz](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@tuongaz](https://community.auth0.com/u/tuongaz)\
**Post date:** [May 3, 2017, 8:22am UTC](https://community.auth0.com/t/how-can-i-get-facebook-access-token-after-the-user-has-authenticated/6455/1 "2017-05-03T08:22:01Z")

</div>

How can I get Facebook access\_token after the user has authenticated? I have tried to use the id\_token to call to `https://auth0.com/docs/api/management/v2#!/Users/get_users_by_id` to get the access token, however, the ‘read:user\_idp\_tokens’ scope is not included in the token.

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [May 3, 2017, 11:56am UTC](https://community.auth0.com/t/how-can-i-get-facebook-access-token-after-the-user-has-authenticated/6455/2 "2017-05-03T11:56:28Z")

</div>

The `id_token` cannot be used to call the Management API. You will need to obtain a Management API `access_token`, and then call the Management API to obtain the idP’s access token. The following document outlines the step-by-step process to do this:

> **[Call an Identity Provider API](https://auth0.com/docs/authenticate/identity-providers/calling-an-external-idp-api)**
>
> Describes how to call an external Identity Provider API.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/how-can-i-get-facebook-access-token-after-the-user-has-authenticated/6455/3 "2018-03-02T05:53:39Z")

</div>


