I am developing an application to collect information from Twitter social media to provide some analysis through big data analytics. Therefore, the first step was creating a dataset with all the information collected from the platform, coding (I chose Python programming language), and then applying all machine learning techniques that I thought would be helpful in my project. However, while working on the first step to collect the data, I received the following error from the Twitter platform:
Forbidden: 403 Forbidden 453 - You currently have Essential access which includes access to Twitter API v2 endpoints only. If you need access to this endpoint, you’ll need to apply for Elevated access via the Developer Portal. You can learn more here: https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api#v2-access-leve
To solve this problem, after googling. I discovered that there is a need to apply for Elevated access (or Academic Research access) from Twitter to use the Twitter API access as a Developer Account and get information from the platform. As it is today, the application can be submitted by following the instructions on the page: https://developer.twitter.com/en/support/twitter-api/developer-account
By filling in the application, Twitter will contact you by asking additional questions in case they need further information from you. If you keep answering their questions until they are satisfied enough, release the access for you. An example of this application can be seen in the following pictures, where it is noticed the questions that it asked me until the company released access to my account:
After the company releases your access, you can start developing your applications to collect data from social media. Therefore, follow below a figure as an example of part of my code that collected all twitters of the city of Natal, Brazil, over a period of last 24 four hours:
I hope this post helps you!
Hi! I am Bruno, a Brazilian born and bred. Former Oracle ACE, Computer Scientist, MSc in Data Science, over ten years of experience in companies such as IBM, Epico Tech, and Playtech based in three different countries (Brazil, Hungary, and Sweden) and joined projects remotely in many others. I am super excited to show you my interest in Databases, Cloud, Data Science, Data Engineering, Bigdata, AI, Programming, Software Engineering, and data in general.
(Continue reading)