Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Choose the API you will use for the project and, 2. Write a brief description

ID: 3710775 • Letter: 1

Question

1. Choose the API you will use for the project and,

2. Write a brief description of the web application you are going to make with that API. If I foresee any problems with the API you choose, or if the description of your web application doesn't meet the requirements of the project, I can let you know here, before your project is due. I encourage you to give feedback to your peers and share ideas. Most APIs require you sign up for their service and use an API key; this process is usually simple enough if you follow the API service's tutorial, but there have been problems with getting an API key in the past.

Explanation / Answer

Twitter APIs

Get statuses of user - https://api.twitter.com/1.1/statuses/user_timeline.json

Returns a collection of the most recent Tweets posted by the indicated by the screen_name or user_id parameters.

Web Application Idea:
You can use get statuses api to get a user's tweet and classfify tweets wheather they are affermative or negative (basically a sentiment analysis) if user's tweet are mostly negative then you can say that this user is spreading negativity on twitter.

You can read more about setiment analysis.
https://www.geeksforgeeks.org/twitter-sentiment-analysis-using-python/
Here you can find how to use a twitter API

Most of twitter APIs requires authentication i.e You have to get API keys.
Twitter's authentication mechanism is very simple.

You have to get 4 keys

consumer_key = 'XXXXXXXXXXXXXXXXXXXXXXXX'
consumer_secret = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXX'
access_token = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXX'
access_token_secret = 'XXXXXXXXXXXXXXXXXXXXXXXXX'

These keys are required to make /statuses/user_timeline.json api call.

To get these keys you can follow twitter's documentation.
1. You can go to https://apps.twitter.com/
2. Create new app
3. Fill out details about your appliation
4. Generate all keys

And start using these keys in your application.
Beware - Do not let anyone know these keys and don't make them public.