# How to get email from twitter

**URL:** <https://community.auth0.com/t/how-to-get-email-from-twitter/141893>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [August 27, 2024, 8:54am UTC](https://community.auth0.com/t/how-to-get-email-from-twitter/141893 "2024-08-27T08:54:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gyutong472](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gyutong472/32/59435_2.png) [@gyutong472](https://community.auth0.com/u/gyutong472)\
**Post date:** [August 27, 2024, 8:54am UTC](https://community.auth0.com/t/how-to-get-email-from-twitter/141893/1 "2024-08-27T08:54:46Z")

</div>

I can get email from twitter in Rules, because in Rules, i can directly access the user.identities array, there are access\_token and access\_token\_secret, but in Actions, i can not access the twitter’s access\_token and access\_token\_secret with event.user.identities.so how can i get the twitter accesstoken and accesstokensecret in Actions.

---

<div class="post-metadata">

**Author:** ![Fario\_Consulting](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fario_consulting/32/60590_2.png) [@Fario\_Consulting](https://community.auth0.com/u/Fario_Consulting)\
**Post date:** [August 28, 2024, 12:40pm UTC](https://community.auth0.com/t/how-to-get-email-from-twitter/141893/3 "2024-08-28T12:40:23Z")

</div>

Hi,  
The way to setup and handle Twitter access tokens is best described by [Auth0 here](https://marketplace.auth0.com/integrations/twitter-social-connection#6-access-twitter-api)

---

<div class="post-metadata">

**Author:** ![tudor.smeu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tudor.smeu/32/59767_2.png) [@tudor.smeu](https://community.auth0.com/u/tudor.smeu)\
**Post date:** [October 7, 2024, 3:43pm UTC](https://community.auth0.com/t/how-to-get-email-from-twitter/141893/6 "2024-10-07T15:43:04Z")

</div>

Hello @gyutong472,

Welcome to the Auth0 community!

Getting the email from twitter is currently possible using the **Management API**. Please check the following **Knowledge Solution** as it should help you solve you problem: [X (formerly Twitter) Social Connection Cannot Fetch the Email Attribute when Migrating from Rules to Actions](https://community.auth0.com/t/x-formerly-twitter-social-connection-cannot-fetch-the-email-attribute-when-migrating-from-rules-to-actions/146257)

I hope this was helpful and if you have more questions make sure to come back to the community.

Thanks,  
Tudor

---

<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:** [October 21, 2024, 3:43pm UTC](https://community.auth0.com/t/how-to-get-email-from-twitter/141893/7 "2024-10-21T15:43:08Z")

</div>

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