Data analysis of different social media platforms
API's to extract your data from twitter. The following steps are invloved.
-
sending first request to Twitter API
-
Getting Tweets from Specific time
-
Getting all tweets by moving backward in time
-
Filtering for english tweets and picking keywords
-
Identifying relevant tweets and keeping track of data
-
Plotting the mined data from twitter
-
Adjusting the maximum time and adding ticks to the graph
-
Streaming live twitter data
These libraries required in this tutorial can be found at these links.
http://docs.python-requests.org/en/master/
https://github.com/requests/requests-oauthlib
https://github.com/bear/python-twitter
To know more about installing python packages Please click on below link
https://packaging.python.org/tutorials/installing-packages/
Note:coded in python 3.0. Remember to run it step-by-step. In every step some of the code is changed. To track the change code look for the comment "###change####" and then follow below that line.