How to get email from twitter

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.

Hi,
The way to setup and handle Twitter access tokens is best described by Auth0 here

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

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

Thanks,
Tudor

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