Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Twitter Fabric or unofficial Twitter4j?

i'm trying to implement twitter into my app and i just want to share with deep-link.

So there should be no login required.

To do so i followed the Twitter-Developer-Docs to integrate the SDK:

https://dev.twitter.com/twitter-kit/android/integrate

And they guide me to https://fabric.io/login?redirect_url=%2Fdownloads to download the IDE plugin,

but is this really what i need? Is it completely free? I don't completely understand why i need to confirm a new registration if I already have a Twitter-Account with my application set up.

Or is it better to use to unofficial Twitter4j-libary to fit my needs?

I think with both i can programmatically add the share-function into my app.

Any help is appreciated.

like image 936
MMike Avatar asked Dec 29 '14 08:12

MMike


1 Answers

Fabric and Twitter4J both have share function.

Twitter4J is better in terms of byte size. It is lightweight. But Twitter4J has only Java methods. It doesn't have any UI components. So you have to implement share page by yourself.

On the other hand, Fabric has useful UI components like share, login, tweets list or so. In addition, it supports single sign on function.

If you want to implement only share function, I think Twitter4J is better.

Thanks.

like image 163
Konifar Avatar answered Oct 30 '22 22:10

Konifar