You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can tell from the user agent fields in the request headers if the requester is on a mobile or a desktop.
Our current redirect to https://twitter.com/oauth/oauth_verify works fine for desktop but on mobile it's inconvenient since its a lot more likely that users are logged in via native app but not the browser.
check whther user agent is mobile or desktop
if mobile, redirect to the deeplink like twitter://oauth/authenticate?oauth_token={}
The text was updated successfully, but these errors were encountered:
We can tell from the user agent fields in the request headers if the requester is on a mobile or a desktop.
Our current redirect to https://twitter.com/oauth/oauth_verify works fine for desktop but on mobile it's inconvenient since its a lot more likely that users are logged in via native app but not the browser.
twitter://oauth/authenticate?oauth_token={}
The text was updated successfully, but these errors were encountered: