Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56
A utility library to authenticate ParseUsers with Twitter
License
parse-community/ParseTwitterUtils-Android
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
ParseTwitterUtils has moved toParse-SDK-Android
A utility library to authenticateParseUsers with Twitter.
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'}
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!"); } }});
We want to make contributing to this project as easy and transparent as possible. Please refer to theContribution Guidelines.
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
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.