# Using Auth0 for getting Social media Tokens for accessing their API's

**URL:** <https://community.auth0.com/t/using-auth0-for-getting-social-media-tokens-for-accessing-their-apis/22896>\
**Category:** Get Help\
**Created:** [March 20, 2019, 9:14pm UTC](https://community.auth0.com/t/using-auth0-for-getting-social-media-tokens-for-accessing-their-apis/22896 "2019-03-20T21:14:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SirLanceLang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sirlancelang/32/11917_2.png) [@SirLanceLang](https://community.auth0.com/u/SirLanceLang)\
**Post date:** [March 20, 2019, 9:14pm UTC](https://community.auth0.com/t/using-auth0-for-getting-social-media-tokens-for-accessing-their-apis/22896/1 "2019-03-20T21:14:40Z")

</div>

I have a system where we currently have our own login system.  
I need the get an access and refresh token from the social media accounts that the user selects and logs into. I will use these tokens to gain Access to social media accounts API’s on behalf of the user. Accessing the social media API’s will happen from my API.

I am currently in doubt about how to proceed. As far as I can read in the documentation, Auth0 can “secure” my solution behind social media logins.

Can anyone give me a hint about the direction I should search?

---

<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:** [March 21, 2019, 1:17am UTC](https://community.auth0.com/t/using-auth0-for-getting-social-media-tokens-for-accessing-their-apis/22896/2 "2019-03-21T01:17:09Z")

</div>

The following documentation outlines how to obtain the identity provider access token after a user authenticates with that provider:

> **[Identity Provider Access Tokens](https://auth0.com/docs/secure/tokens/access-tokens/identity-provider-access-tokens)**
>
> Understand third-party access tokens issued by identity providers after user authentication and how to use them to call the third-party APIs.

---

<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:** [August 30, 2019, 12:18pm UTC](https://community.auth0.com/t/using-auth0-for-getting-social-media-tokens-for-accessing-their-apis/22896/4 "2019-08-30T12:18:11Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
