ParseTwitterUtils-Android

A utility library to authenticate ParseUsers with Twitter

License

License

GroupId

GroupId

com.parse
ArtifactId

ArtifactId

parsetwitterutils-android
Last Version

Last Version

1.10.6
Release Date

Release Date

Type

Type

jar
Description

Description

ParseTwitterUtils-Android
A utility library to authenticate ParseUsers with Twitter
Project URL

Project URL

https://github.com/ParsePlatform/ParseTwitterUtils-Android
Source Code Management

Source Code Management

https://github.com/ParsePlatform/ParseTwitterUtils-Android

Download parsetwitterutils-android

How to add to project

<!-- https://jarcasting.com/artifacts/com.parse/parsetwitterutils-android/ -->
<dependency>
    <groupId>com.parse</groupId>
    <artifactId>parsetwitterutils-android</artifactId>
    <version>1.10.6</version>
</dependency>
// https://jarcasting.com/artifacts/com.parse/parsetwitterutils-android/
implementation 'com.parse:parsetwitterutils-android:1.10.6'
// https://jarcasting.com/artifacts/com.parse/parsetwitterutils-android/
implementation ("com.parse:parsetwitterutils-android:1.10.6")
'com.parse:parsetwitterutils-android:jar:1.10.6'
<dependency org="com.parse" name="parsetwitterutils-android" rev="1.10.6">
  <artifact name="parsetwitterutils-android" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.parse', module='parsetwitterutils-android', version='1.10.6')
)
libraryDependencies += "com.parse" % "parsetwitterutils-android" % "1.10.6"
[com.parse/parsetwitterutils-android "1.10.6"]

Dependencies

compile (1)

Group / Artifact Type Version
com.parse : parse-android jar 1.13.0

Project Modules

There are no modules declared in this project.

[ARCHIVE] Parse Twitter Utils for Android

ParseTwitterUtils has moved to Parse-SDK-Android

Build Status License Join The Conversation Backers on Open Collective Sponsors on Open Collective Twitter Follow

A utility library to authenticate ParseUsers with Twitter.

Dependency

Add this in your root build.gradle file (not your module build.gradle file):

allprojects {
	repositories {
		...
		maven { url "https://jitpack.io" }
	}
}

Then, add the library to your project build.gradle

dependencies {
    implementation 'com.github.parse-community:ParseTwitterUtils-Android:latest.version.here'
}

Usage

Extensive docs can be found in the guide. The basic steps are:

// in Application.onCreate(); or somewhere similar
ParseTwitterUtils.initialize("YOUR CONSUMER KEY", "YOUR CONSUMER SECRET");

Then later, when your user taps the login button:

ParseTwitterUtils.logIn(this, new LogInCallback() {
  @Override
  public void done(ParseUser user, ParseException err) {
    if (user == null) {
      Log.d("MyApp", "Uh oh. The user cancelled the Twitter login.");
    } else if (user.isNew()) {
      Log.d("MyApp", "User signed up and logged in through Twitter!");
    } else {
      Log.d("MyApp", "User logged in through Twitter!");
    }
  }
});

How Do I Contribute?

We want to make contributing to this project as easy and transparent as possible. Please refer to the Contribution Guidelines.

License

Copyright (c) 2015-present, Parse, LLC.
All rights reserved.

This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.

As of April 5, 2017, Parse, LLC has transferred this code to the parse-community organization, and will no longer be contributing to or distributing this code.

com.parse

Parse

Versions

Version
1.10.6
1.10.5
1.10.4
1.10.3