October 2018
Intermediate to advanced
982 pages
23h 29m
English
To start configuring the Twitter API in our application, we must provide the credentials. We will use the yaml file for this. Let's add credentials in our application.yaml:
twitter: consumer-key: ${consumer-key} consumer-secret: ${consumer-secret} access-token: ${access-token} access-token-secret: ${access-token-secret}
Easy peasy. The properties have been declared and then we used the $ to instruct the Spring Framework that this value will be received as an environment variable. Remember, we configured the Twitter account in the previous chapter.
Read now
Unlock full access