Twitter Library for Dart.
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();
}
- Write more detailed Example
- Support Twitter Model
MIT LICENSE
In this library, use oauth.dart in My repository. I fix it by develop original oauth 1 library.