# Missing Facebook access\_token in user info Facebook identity

**URL:** <https://community.auth0.com/t/missing-facebook-access-token-in-user-info-facebook-identity/8040>\
**Category:** Get Help\
**Tags:** idp, social, access\_token, facebook\
**Created:** [August 31, 2017, 7:48pm UTC](https://community.auth0.com/t/missing-facebook-access-token-in-user-info-facebook-identity/8040 "2017-08-31T19:48:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![avner](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/avner/32/7223_2.png) [@avner](https://community.auth0.com/u/avner)\
**Post date:** [August 31, 2017, 7:48pm UTC](https://community.auth0.com/t/missing-facebook-access-token-in-user-info-facebook-identity/8040/1 "2017-08-31T19:48:53Z")

</div>

I’m following the documentation regarding accessing an external IdP API - using Facebook.  
The response for the ‘user info’ is not consistent - it only sometimes contains the access\_token in the Facebook provider identity (the rest of the object is there, just no access\_token property).

How can I initiate the FB access\_token generation so I can create a flow where I always get a valid FB access\_token?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [September 5, 2017, 7:27pm UTC](https://community.auth0.com/t/missing-facebook-access-token-in-user-info-facebook-identity/8040/2 "2017-09-05T19:27:27Z")

</div>

I’m assuming you’re following this [documentation](https://auth0.com/docs/tokens/idp#how-to-obtain-identity-provider-access-tokens) on how to obtain access tokens generated as part of an authentication flow that involved an external identity provider, in this case, Facebook.

If that’s the case, have in mind that the key part is that the Management API access token you use to call `/api/v2/user/{user-id}` needs to have the `read:user_idp_tokens` scope. More specifically, if the access token only has the `read:users` scope the request will still succeed, but you just won’t have access to certain properties related to the issued token, being the `access_token` property one of the ones that would not be returned.

The recommendation would be for you to ensure that you’re calling the API with a suitable access token to retrieve the information in question; if you confirm you have the right scopes but still experience an issue then you should update your question with additional information on how to reproduce the issue.

---

<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:56am UTC](https://community.auth0.com/t/missing-facebook-access-token-in-user-info-facebook-identity/8040/3 "2018-03-02T05:56:15Z")

</div>


