Created
January 15, 2014 23:43
-
-
Save britishboyindc/8447044 to your computer and use it in GitHub Desktop.
Twilio Message List
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This worked for me: | |
| Map<String, String> params = new Map<String, String> (); | |
| TwilioRestClient client = TwilioAPI.getDefaultClient(); | |
| TwilioMessageList als = new TwilioMessageList(client, params); | |
| als.setRequestAccountSid('XXX'); //put Accound Sid here | |
| for (TwilioMessage msg: als.getPageData()) { | |
| system.debug('###' + msg.getProperty('body')); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment