askarinaqvi / marketresearch

0 stars 0 forks source link

Read from Twitter #4

Open askarinaqvi opened 7 years ago

askarinaqvi commented 7 years ago

Algorithm to read tweets based on a keyword and place each into a separate JSON document

  1. create Bluemix web application with a runtime like Liberty for Java
  2. add the Insights for Twitter service to the app 2.1 OAuth and GNIP need to be used instead of Insights for Twitter b/c Insights has been retired : (
  3. When the Insights for Twitter service is bound to the app, the service instance is provisioned with unique credentials. Our app will use these credentials with REST APIs to search and consume Twitter content.
  4. Retrieve the credentials from VCAP_SERVICES and integrate the service instance with the app.
ShahN005 commented 7 years ago

For Step 1. Creating Bluemix web application:

1. We need Eclipse. 
    - Eclipse is needed to do the development using Liberty for Java
    - We need Liberty for Java to develop, deploy and run the web app
    - For Eclipse, we needed JVM 1.8 downloaded and installed
2. Need CloudFoundry cli - download the cloudfoundry command line interface b/c we are building a cloudfoundry app
3. Download Apache Maven to build and deploy the cloudfoundry app
4. Download IBM Eclipse Tools for Bluemix and Liberty Tools