twitter_1user 1.0.1

Dart native
Flutter Android iOS

Connect to Twitter API with OAuth1.0a. The access token is assumed to be obtained from the Twitter application details page. It is therefore ideal for single user applications.

twitter 1user #

pub package

Connect to Twitter API with OAuth1.0a. The access token is assumed to be obtained from the Twitter application details page. It is therefore ideal for single user applications.

Install #

Add this to your package's pubspec.yaml file.

dependencies:
  twitter_1user: ^1.0.1

You can install packages from the command line.

pub get

Example #

import 'package:twitter_1user/twitter_1user.dart';

main(List<String> arguments) async {
  Twitter twitter = new Twitter('CONSUMER KEY', 'CONSUMER SECRET',
      'ACCESS TOKEN', 'ACCESS TOKEN SECRET');

  String response = await twitter.request(
      'get', 'statuses/user_timeline.json', {});
  var tweets = jsonDecode(response);
  print(tweets[2]);

  response =
  await twitter.request('post', 'statuses/update.json', {'status': 'Hello!'});
  print(response);
}

LICENSE #

MIT

1
likes
80
pub points
50%
popularity

Connect to Twitter API with OAuth1.0a. The access token is assumed to be obtained from the Twitter application details page. It is therefore ideal for single user applications.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

system@logicky.com

License

MIT (LICENSE.txt)

Dependencies

convert, crypto

More

Packages that depend on twitter_1user