Package selection guidance compiled from public package information, community data, and project usage.
A Flutter plugin that enables Twitter login using OAuth, allowing users to authenticate via Twitter's API. It simplifies integration with Twitter's authentication service across Android, iOS, and macOS platforms. The plugin handles OAuth flows securely, providing access tokens for authorized app interactions. Ideal for apps requiring social login functionality with Twitter as an identity provider. Supports seamless user onboarding and secure credential management.
Use cases
Social login with Twitter
User authentication via Twitter
App onboarding with social accounts
Secure OAuth token handling
Cross-platform Twitter login
Key features
OAuth 1.0a support
Android/iOS/macOS compatibility
Secure token management
Simple API integration
Built-in error handling
Suitable for
Apps needing Twitter login
Developers building social features
Cross-platform mobile apps
Authentication-focused applications
Projects using OAuth-based identity providers
Considerations
Requires Twitter Developer account
Needs proper app configuration in Twitter Developer Portal
Limited to OAuth 1.0a (not OAuth 2.0)
Dependent on Twitter API availability
May require additional privacy policy disclosures
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
twitter_login
Flutter Twitter Login Plugin
Requirements
Dart sdk: ">=2.12.0-0 <3.0.0"
flutter: ">=1.25.0-8.1.pre"
Android: minSdkVersion 17 and add support for androidx
You need to replace the scheme with a Callback URLs.
<intent-filter><actionandroid:name="android.intent.action.VIEW" /><categoryandroid:name="android.intent.category.DEFAULT" /><categoryandroid:name="android.intent.category.BROWSABLE" /><!-- Accepts URIs that begin with "example://gizmos” --><!-- Registered Callback URLs in TwitterApp --><dataandroid:scheme="example"android:host="gizmos" /><!-- host is option --></intent-filter>
Supporting the new Android plugins APIs
If you flutter created your project prior to version 1.12, you need to make sure to update your project in order to use the new Java Embedding API.
Make use you have flutter_embedding v2 enabled. Add the following code on the manifest file inside tag to enable embedding.
Flutter wiki: Upgrading pre 1.12 Android projects.