Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 14, 2020. It is now read-only.

A utility library to authenticate ParseUsers with Twitter

License

NotificationsYou must be signed in to change notification settings

parse-community/ParseTwitterUtils-Android

Repository files navigation

ParseTwitterUtils has moved toParse-SDK-Android

Build StatusLicenseJoin The ConversationBackers on Open CollectiveSponsors on Open CollectiveTwitter Follow

A utility library to authenticateParseUsers with Twitter.

Dependency

Add this in your rootbuild.gradle file (not your modulebuild.gradle file):

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

Then, add the library to your projectbuild.gradle

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

Usage

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

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

Then later, when your user taps the login button:

ParseTwitterUtils.logIn(this,newLogInCallback() {@Overridepublicvoiddone(ParseUseruser,ParseExceptionerr) {if (user ==null) {Log.d("MyApp","Uh oh. The user cancelled the Twitter login.");    }elseif (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 theContribution Guidelines.

License

Copyright (c) 2015-present, Parse, LLC.All rights reserved.This source code is licensed under the BSD-style license found in theLICENSE file in the root directory of this source tree. An additional grantof 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.

About

A utility library to authenticate ParseUsers with Twitter

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors7

Languages


[8]ページ先頭

©2009-2025 Movatter.jp