Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect Twitter user agent #722

Closed
castrolem opened this issue Apr 10, 2024 · 1 comment
Closed

Detect Twitter user agent #722

castrolem opened this issue Apr 10, 2024 · 1 comment

Comments

@castrolem
Copy link

Is your feature request related to a problem? Please describe.
It would be nice if we could detect the Twitter Browser.
According:
https://explore.whatismybrowser.com/useragents/explore/software_name/twitter-app/
It just contains the string "Twitter" on its user agent when opened via Android, not sure about iOS.

Describe the solution you'd like
Get Twitter like the library does with Instagram for Twitter.

Describe alternatives you've considered
Running my own .includes('Twitter') on the user agent string 😞

@castrolem
Copy link
Author

@faisalman thank you! 🔥 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant