The data for our React application will come from Twitter. Twitter has the Streaming API that anyone can plug into and start receiving an endless flow of public tweets in the JSON format.
To start using the Twitter Streaming API, you'll need to perform the following steps:
In the Application Settings section of this page, you'll find two vital pieces of information:
jqRDrAlKQCbCbu2o4iclpnvem
wJcdogJih7uLpjzcs2JtAvdSyCVlqHIRUWI70aHOAf7E3wWIgD
Take a note of them; we will need them later in this chapter.
Now we need to generate an access token. On the same page, you'll see Your Access Token section that is empty. Click on Create my access token. It creates two pieces of information:
12736172-R017ah2pE2OCtmi46IAE2n0z3u2DV6IqsEcPa0THR
4RTJJWIezIDcs5VX1PMVZolXGZG7L3Ez7Iz1gMdZucDaM
Take a note of them too. An access token is unique to you and you should not share it with anyone. Keep it private.
Now we have everything that we need to start using Twitter's Streaming API.
18.225.55.151