November 2018
Intermediate to advanced
390 pages
10h 8m
English
The following program is an example of how to integrate with the Twitter API. We are going to pass the Twitter API credentials for your account through a configuration file. This program will be listening on TCP port:9090, and it will post a tweet through your account.
Run the following command to execute the following code:
ballerina build packt-twitter-example.bal
// NOTE 1: Use Linux VIM editor to edit file and copy following code mentioned after vim line// NOTE 2: Make sure you get twitter's client id, secret, access and tokens before running this code and you can refer https://developer.twitter.com/en/account/get-started #vim packt-twitter-example.bal//Example shown during Ballerina demo//Created ...
Read now
Unlock full access