Skip to content

UllasCL/TwitterNewsFeed

Repository files navigation

TwitterNewsFeed

Executable apk file : app-debug.apk

Keystore file : Tweet.jks

Create a twitter application using the link apps.twitter.com

Change the permission to Read, Write and Access direct messages

Credentials

Consumer Key (API Key) : m0yptSgM59MklN567YswcIJBM

Consumer Secret (API Secret) : PcghssgcWmYlM6RSXALkhncGnwTmPzs4u9UtQ1dbqfa7MTQUOV

Access Token : 973588124734402560-oKvl0JH806Q37ssZMkGvktDaQ29gQuW

Access Token Secret : vkDYVTAtSYeO1HMJXZM70gF7U57RqmcEiPUuzNJLI0Pmy

These credentials are necessary for authentication and get the tweets using httpGet function.

Create a url using these credentials and Resource url(https://api.twitter.com/1.1/statuses/home_timeline.json)

get the json file and retive the url from the tweets.

we can also authenticate using firebase Twitter Authentication.

For firebase authentication first we need to create a project in fire base and update gradle file.

During authentication process first it will show the default twitter account, you can change the account or create account by pressing the default Twitter id.

Ccreate json file using HttpGet if you have doubt whether the file is generated or not check it using postman with proper credentials.

update the fetched data to database.

Welcome Page

screenshot_2018-06-27-23-36-27-705_com ullas twitter

Authentication Page

screenshot_2018-06-27-23-36-35-573_com twitter android

Create New Twitter account

screenshot_2018-06-27-23-36-38-242_com twitter android

User Id of authenticated user to fetch twitter timiline

screenshot_2018-06-28-14-49-23-382_com ullas twitter

Fetching data from Twitter Account

screenshot_2018-06-28-13-34-12-596_com ullas twitter

The required id time and data from Twitter

screenshot_2018-06-28-13-34-17-845_com ullas twitter 1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published