Twitter will be discontinuing support for Twitter Kit on October 31, 2018. Read the blog post here.
Twitter Kit for Android
Twitter Kit is a multi-module gradle project containing several Twitter SDKs including TweetComposer, TwitterCore, and TweetUi. Twitter Kit is designed to make interacting with Twitter seamless and efficient.
Twitter Kit Features
- Display Tweets and timelines
- Compose Tweets
- Monetize with MoPub integration
- Log in with Twitter
- Access the Twitter API
Getting Started
- Generate your Twitter API keys through the Twitter developer apps dashboard.
- Install Twitter Kit using instructions below.
- For extensive documentation, please see the wiki.
Install using Bintray JCenter
Add twitter dependency to your build.gradle:
repositories {
jcenter()
}
dependencies {
compile('com.twitter.sdk.android:twitter:3.3.0@aar') {
transitive = true
}
}
Building from source
Rename samples/app/twitter.properties.sample to samples/app/twitter.properties and populate the consumer key and secret.
To build the entire project run
./gradlew assemble
Run all automated tests on device to verify.
./gradlew test connectedCheck
To run the sample app
./gradlew :samples:app:installDebug
Contributing
The master branch of this repository contains the latest stable release of Twitter Kit. See CONTRIBUTING.md for more details about how to contribute.
Code of Conduct
This, and all github.com/twitter projects, are under the Twitter Open Source Code of Conduct. Additionally, see the Typelevel Code of Conduct for specific examples of harassing behavior that are not tolerated.
Contact
For usage questions post on Twitter Community.
Please report any bugs as issues.
Follow @TwitterDev on Twitter for updates.
License
Copyright 2017 Twitter, Inc.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0