I developed an java application which can be executed on SAP Cloud Platform. In application, I am using twitter streaming api to connect and get twitter data. The related twitter library is hbc-twitter java library.
Connection is build in hbc java library. Therefore, I am not able to use destination on the server. Because the related java library can access the twitter apis.
I tried creating destinations and getting the HttpURLConnection object from java but I could not use the related http connection object to twitter hbc library.
How can I solve this issue on SAP Cloud Platform? In my localhost the application works fine. Any solutions?