Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) {
- Account account = new Account();
- PlurkAgent pa = new PlurkAgent(account);
- pa.login();
- /*
- *
- * [DEBUG] PlurkTemplate - isOk: true, response: {"plurk":
- * {"responses_seen": 0, "qualifier": "asks", "plurk_id": 70772936,
- * "response_count": 0, "limited_to": null, "no_comments": 0,
- * "is_unread": 0, "lang": "tr_ch", "content_raw":
- * "\u665a\u4e0a\u9084\u4e0b\u96e8\u55ce?", "user_id": 3146394,
- * "plurk_type": 0, "id": 70772936, "content":
- * "\u665a\u4e0a\u9084\u4e0b\u96e8\u55ce?", "posted": new
- * Date("Fri, 03 Jul 2009 07:11:14 GMT"), "owner_id": 3146394}, "error":
- * null}
- */
- Result r = pa.addPlurk(Qualifier.FREESTYLE, "我噗了");
- pa.responsePlurk(Qualifier.FREESTYLE, "" + r.getAttachement().get("plurkId"), "" +r.getAttachement().get("plurkOwnerId"), "我回了");
- }
Add Comment
Please, Sign In to add comment