Droidcon-Boston / conference-app-android

Official conference app for Droidcon Boston
http://www.droidcon-boston.com/
Apache License 2.0
98 stars 25 forks source link

Embed social media feeds into the app #112

Open n8ebel opened 5 years ago

n8ebel commented 5 years ago

could include a screen(s) in the app that follows certain accounts and/or hashtags related to the event

sagar-viradiya commented 5 years ago

High level thoughts on social integration

sagar-viradiya commented 5 years ago

The Twitter search API documentation for embedding hashtag feed. https://developer.twitter.com/en/docs/tweets/search/overview

sagar-viradiya commented 5 years ago

Documentation on twitter API authentication https://developer.twitter.com/en/docs/basics/authentication/overview/oauth

We will be using application only authentication. If we go with the standard API then according to this documentation of rate limiting we would get 450 requests per 15 min window.

Rate limit for standard API is defined here

Twitter API authentication we need is documented here

GiorgioNatili commented 5 years ago

@sagar-viradiya I sent an email to my contact in Twitter to see if she can help with the API. In the meantime, I think we can go ahead.

The worst case scenario is paying just for one month the fee. One observation is that we don't want to authenticate the users but instead we want just to consume the feed; the fee for more than 2,500 requests is $699.00 that is a little bit pricy. :|

I will keep you posted on the progress of my conversations.

sagar-viradiya commented 5 years ago

Thanks, @GiorgioNatili. We don't need user authentication. I was talking about API authentication. Before querying API, search API needs authentication.

It would be great if we have last year's data about the number of users. Meanwhile, I would be working on planning implementation.

sagar-viradiya commented 5 years ago

@GiorgioNatili Any update?

sagar-viradiya commented 5 years ago

@GiorgioNatili We have to create developer account also for API key and API secret. To get started I have created a developer account for API key and secret under my twitter account.

More info on how to apply for developer account can be found here

n8ebel commented 5 years ago

@GiorgioNatili Any Update from your contact at Twitter?

sagar-viradiya commented 5 years ago

@GiorgioNatili @n8ebel Thinking of using room for offline support. DB will be single source of truth for data.