v1.1.0
flutter_twitter_login
ユーザーがネイティブな Android および iOS の Twitter ログイン SDK を使って認証できるようにする Flutter プラグインです。
35いいね 7630日間ダウンロード40Pub ポイント
プラットフォーム情報なし
Android および iOS のネイティブ TwitterKit SDK を使用してユーザーの認証を行うための Flutter プラグインです。
以下は英語原文のスナップショットです。最新版は 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 ↗