This project demonstartes the usage of Insights for Twitter service on Bluemix using Golang
- Create a new CloudFoundary Go web app on Bluemix
- Download the starter code.
- Copy
manifest.yml
from the starter code package. - Past it in the root folder of the project.
- Add Insights for Twitter service to the app
- Copy the services URL
- Add the following
(/api/v1/messages/search?q=)
to the end of the URL. It will look likehttps://XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX:XXXXXXXXXX@cdeservice.mybluemix.net/api/v1/messages/search?q=
- Past the final URL in
DEF_URL
constant. - Push the application to the app using CloudFoundary CLI
cf push
Start searching!