How to get the access token in Expo Auth Session Twitter login?

Please provide the following:

  1. SDK Version: 45
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I am trying to use “expo-auth-session” for Twitter login. However, The code that is provided in the Documentation only gives me a response like this:

{
“type”: “success”,
“error”: null,
“url”: “exp://10.0.0.166:19000/–/expo-auth-session?state=wC3DQiYsq8&code=U2tsbkF0aFUwYXVTUG9LbENHRWdSTXg1VGtQNDNLdG92aWg0a3hMNnREYmVvOjE2NjMyMzIyOTEzNjY6MTowOmFjOjE”,
“params”: {
“state”: “wC3DQiYsq8”,
“code”: “U2tsbkF0aFUwYXVTUG9LbENHRWdSTXg1VGtQNDNLdG92aWg0a3hMNnREYmVvOjE2NjMyMzIyOTEzNjY6MTowOmFjOjE”
},
“authentication”: null,
“errorCode”: null
}

How to get the access token for your Twitter login? I couldn’t find any solution yet. Please help me on that topic.

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