Thanks, I am following the patterns in the Python, and Ruby SDK, so you have given a blue print of sorts
(you guys did the heavy lifting
)
I am going to add some Builder patterns, example :
// get the first account
Account account = client.getAccounts().get(1);
String[] mediaIds = new String[]{"1212313"};
// standard way of creating a preview
List<Preview> previews = Tweet.preview(account, "Hello Ads some more text but no symbols");
//Tweet Preview - using builder pattern
Preview preview = Tweet.previewBuilder().account(account)
.status("Hello Ads from Java SDK")
.media_ids(mediaIds)
.build();
I am seeing some discrepancies between what can be done on sandbox vs standard api’s
at some point, could you put a wiki together, explaining the limitations of sandbox, I am writing all these unit tests only to find out the error is not an error when it’s not running on sandbox.
Thanks, this is MIT License, when I am done, you can fork it, and refactor it for your namespace, if you want, we can maintain it, we are a java shop, so we definitely need this.
Marc @ Steelhouse.com