Twitter or unofficial Twitter4j?

I am trying to embed twitter in my application and I just want to share with a deep link .

Therefore, there should be no login .

For this, I followed Twitter-Developer-Docs for SDK integration:

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

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

but is it really what i need? Is it absolutely free? I don’t quite understand why I need to confirm a new registration if I already have a Twitter account with the setup of my application.

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

I think that with both, I can programmatically add a share-function to my application.

Any help is appreciated.

+6
source share
1 answer

Cloth and Twitter4J have a sharing feature.

Twitter4J is better in terms of byte size. It is light weight. But Twitter4J has only Java methods. It has no interface components. Therefore, you must implement the sharing page yourself.

Fabric, on the other hand, has useful user interface components such as sharing, login, list of tweets or so on. In addition, it supports single sign-on.

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

Thanks.

+1
source

Source: https://habr.com/ru/post/980245/


All Articles