OTN Appreciation Day: #ThanksOTN Twitter feed with Oracle MCS and Oracle JET
As we can implement our Custom APIs using node.js, we can almost use any of the available node modules like for example Oracle MCS: Creating PDF files in Custom APIs.
In a project we are developing we have the requirement to display a twitter timeline of a hashtag.
Today is the OTN Appreciation Day and in this post we are going to make a #ThanksOTN twitter feed using Oracle MCS and Oracle JET.
First of all we are going to start with the API design. We are going to create an API called TwitterAPI and a GET method inside feed endpoint.
The next step is to implement the API. To get the twitter feed we are going to use node-twitter module. To install the module we have to execute npm install twitter in the folder where our package.json file is.
After that we need to include the module as a dependency.
If we run the application we can see #ThanksOTN feed!