In this section, we will cover the process of creating a Twitter developer account. It is required for fetching tweets to authorize and authenticate the application with Twitter, through which data will be fetched.
To create a Twitter developer account, perform the following steps:
www.dev.twitter.com/apps
. Here, you will see a list of all the applications created using your Twitter login credentials.It will ask you to fill in the following details to create an application:
Name: You have to provide a unique name for your Twitter application. The name has to be unique or else you will get an error that this particular name has already been taken.
Description: You have to provide a description of your Twitter application. This provides brief information about your Twitter application. It has to be a minimum of 10 characters.
Website: You have to provide a website that will act as the home page for your Twitter application. However, we are using it for personal use—for fetching tweets. So, provide any website address or put a placeholder. The website has to be specified with http or https followed by the domain name, for example, http://www.twitter.com.
Callback URL: This is used when you are allowing the user to sign in to your application to authenticate themselves. This URL is where they will be returned after they've offered consent to Twitter to use your application. It is optional.
After filling in the preceding details, read the Developer Agreement and tick the Yes, I agree checkbox. Click on the Create your Twitter application button to create your app.
After successful creation of your application, Consumer Key and Consumer Secret Key will be generated automatically.
It will automatically create your Access Token and Access Token Secret Key. Refresh the page if you do not see the newly created access tokens.
3.149.240.196