date
Oct 3, 2024
slug
react-native-connect-with-x
status
Published
tags
Front-end
summary
WebBrowser.maybeCompleteAuthSession();
type
Post
- You will need to be approved by Twitter support before you can use the Twitter v2 API.
- Web does not appear to work, the Twitter authentication website appears to block the popup, causing the
response
ofuseAuthRequest
to always be{type: 'dismiss'}
.
- Example redirects:
- Standalone / development build:
com.your.app://
- Web (dev
expo start --https
):https://localhost:19006
(no ending slash)
- The
redirectUri
requires two slashes (://
).
Cấu hình X:
