flutter_twitter_login
एक फ्लटर प्लगइन जो उपयोगकर्ताओं को मूल एंड्रॉइड और आईओएस ट्विटर लॉगिन SDK के साथ प्रमाणीकरण करने की अनुमति देता है।
एंड्रॉइड और आईओएस पर मूल ट्विटरकिट SDK का उपयोग करके उपयोगकर्ताओं की प्रमाणीकरण के लिए एक फ्लटर प्लगइन।
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A Flutter plugin for using the native TwitterKit SDKs on Android and iOS.
This plugin uses the new Gradle 4.1 and Android Studio 3.0 project setup.
See the installation instructions on pub. No platform-specific configuration is needed!
Here's some sample code that should cover most of the cases. For full API reference, just see the source code. Everything is documented there.
var twitterLogin = new TwitterLogin(
consumerKey: '<your consumer key>',
consumerSecret: '<your consumer secret>',
);
final TwitterLoginResult result = await twitterLogin.authorize();
switch (result.status) {
case TwitterLoginStatus.loggedIn:
var session = result.session;
_sendTokenAndSecretToServer(session.token, session.secret);
break;
case TwitterLoginStatus.cancelledByUser:
_showCancelMessage();
break;
case TwitterLoginStatus.error:
_showErrorMessage(result.error);
break;
}
निर्भरता सूची 2 आइटम
{"sdk":"flutter"}{"sdk":"flutter"}उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗