Annoucement: As of January 13th, 2023, Twitter has decided that an app recreating the original experience violates their Terms of Service. You may still be able to build and use Talon through your own Twitter developer account, but development will no longer continue for the product unless their stance changes in the future.
This is the complete version of the Twitter client that I created for Android. It is 100% open source, the only thing that you will have to do plug in is your own API keys.
I am lucky enough to say that, as a paid app, Talon has perched itself at the top of the top paid social apps list since it's release in 2014. It has amassed 100,000+ downloads while holding a 4.6 star rating on the Play Store. This app is one of the more successful apps I have ever made and I am open sourcing it as a "thank you" to everyone that has supported my work over the years! It works great and I'm proud to say that it can probably be considered one of the most popular third party Twitter apps.
While I will be the first to admit that it is very far from perfect - and a lot of the base code was written when I had no clue what I was doing - it it could be a very cool project to look at for inspiration, implementation details, and contributions.
Enjoy Talon for Twitter and let me know what you want to see next!
You should build the app against the current
master
branch. The tags are all old releases and are not maintained. I will not be able to support building older versions of the app.
Before Talon will work, you will need to generate some API keys, for Twitter. I will not be distributing my keys.
To get your Twitter API key, go through these steps:
Create New App
.http://talonfortwitter.com
LoginFragment
Rules of the Road
, then Create your Twitter Application
Permissions
page of the app and select the Read, Write and Access direct messages
option, or else you won't be able to do anything but view your timeline.In the .gitignore
file, I have ignored secrets.properties
which should contain your keys. Go ahead, copy the secrets.properties.sample
to secrets.properties
and fill in the keys in it.
This allows me to keep the keys out of source control, but still build the app without any hassle.
There are fields for the Twitter keys, as well as some third party services that Talon utilizes. You do not have to generate keys for the third party services. Those services just will not work.
For release builds, add your keystore simply as keystore
to the root of the project, then add a keystore.properties
file to the root with (no quotation marks around these strings!):
keystorefile=keystore
keyalias=XXXXXX
keystorepassword=XXXXXX
keypassword=XXXXXX
Please fork this repository and contribute back using pull requests. Features can be requested using issues. All code, comments, and critiques are greatly appreciated.
Copyright 2018 Luke Klinker
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.