8

Recently the Twitter kit is going to lose the support and I'm wondering what's is the right and recomended way to integrate to show feed tweets from search (using the api native or some new alternative to twitter kit) now and futter.

The most tutorial online is deprecated or uses twitter kit not work for some changes that Twitter made on your service and fails on oAuth.

The Question is how integrate twitter now in this year with the new native api on Android Api-28

If some one have a sample or start project I apreciated.

exequielc
  • 681
  • 1
  • 11
  • 32

4 Answers4

3

There are several alternative solutions for displaying Tweets in your app without Twitter Kit. You can render Embedded Tweets and Timelines within webviews using Twitter for Websites. You can fork the Twitter Kit project and build it into your app, or copy the parts you need into your app. Or you can use Twitter’s standard API to power your own native displays.

Ali Ahsan
  • 985
  • 11
  • 16
0

You should use Twitter4J. Right now there isn't any native Android libraries that work with Twitter's latest API. You can also directly call Twitter's API methods using any HTTP library, or an OAuth library such as scribejava.

gbandres
  • 901
  • 7
  • 14
0

Ok just for you ;) I just put on github a simple Android app test. It uses Twitter4J. All you have to change is your twitter app credentials inside the file :

app/src/main/res/values/twitter_auth.xml

Here is the link : https://github.com/jrevault/twitroid

Feel free to ask questions if you need.

0

You have do it easy with help of FCM , which provide all social Integration like G+,Facebook,Twiter ....FCM having all facility ...

Zafar Hussain
  • 264
  • 2
  • 10