makarenkoanton/twitter-kit-android


Twitter Kit for Android https://dev.twitter.com/twitterkit/android/overview

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.makarenkoanton:twitter-kit-android:1.0.10'
	}
	dependencies {
		implementation("com.github.makarenkoanton:twitter-kit-android:1.0.10")
	}
	<dependency>
	    <groupId>com.github.makarenkoanton</groupId>
	    <artifactId>twitter-kit-android</artifactId>
	    <version>1.0.10</version>
	</dependency>

                            
    libraryDependencies += "com.github.makarenkoanton" % "twitter-kit-android" % "1.0.10"
        
        

                            
    :dependencies [[com.github.makarenkoanton/twitter-kit-android "1.0.10"]]
        
        

Readme


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

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