/twitter.dart

Twitter API Library in Dart

Primary LanguageDartMIT LicenseMIT

twitter.dart

Build Status pub package

Twitter Library for Dart.

Example

REST API

import 'package:twitter/twitter.dart';

main () async {
  Twitter twitter= new Twitter('YOUR CONSUMER KEY', 'YOUR CONSUMER SERCRET',
                    'YOUR ACCESS TOKEN', 'YOUR ACCESS TOKEN SECERT');
  var response = await twitter.request("GET", "statuses/user_timeline.json");
  print(response.body);
  twitter.close();
}

TODO

  • Write more detailed Example
  • Support Twitter Model

LICENSE

MIT LICENSE

oauth.dart

In this library, use oauth.dart in My repository. I fix it by develop original oauth 1 library.