Интернет-магнат ([info]dohque) wrote,
@ 2009-04-07 18:43:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
Автоматический постинг в ЖЖ
Как все-такип просто постить в ЖЖ с помошью Ява. :)

		LJAccount account = new LJAccount();
		account.login("dohque", "SECRET_PASSWORD", false, 0);
		LJEvent event = new LJEvent();
		event.setJournal("dohque");
		event.setSubject("LJ API post.");
		event.setBody("This post was posted from LJ API! It is cool!");
		event.setTagList("ljapi, java, sourceforge");
		account.postEvent(event);


ЗЫ: Привет, Андрею! :)


Advertisement


(Read 5 comments)

Post a comment in response:

From:
( )Anonymous - this user has disabled anonymous posting.
( )OpenID Help
Username:
Password:
Don't have an account? Create one now.
Subject:
No HTML allowed in subject
   Help
Message:

 
Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…