title | type | duration | creator | ||||
---|---|---|---|---|---|---|---|
OAuth Twitter Lab |
lab |
1:25 |
|
Note: This can be a pair programming activity or done independently.
In this lab, you will be creating a Twitter Client to retrieve the 20 most recent tweets from a provided Twitter account and display the text and date on the screen. The user should have the ability to type in any Twitter handle and have the tweets display.
- Register your app on twitter here
- If you are NOT doing the bonus, you can follow this authentication flow
- If you are doing the bonus, you need to follow this authentication flow
Hint: If you are having trouble navigating the API, try this link
Your app should:
- Display the 20 most recent tweets from a given user
- Display the tweet text and date
- Allow the user to type in any Twitter user name to display that user's tweets
- Use GSON to parse the API response
Bonus:
- Allow the user to post tweets from within your app
An app that meets the requirement above. The screenshot below is just an example (the UI design is up to you).
- All content is licensed under a CCBYNCSA 4.0 license.
- All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact legal@ga.co.