How to automatically Create Post on user behalf

May 17, 2012 at 4:35 AM
Edited May 17, 2012 at 4:36 AM

Hi,

I'm trying to automatically create post on user behalf. Basically I'm calling blogengine From other web application.

What is the best way of doing this? The blog engine is set to save to sql database.

is there any API to use?

 

I tried to modified admin/ajaxhelper.cs, the blogID is set to wrong ID.

it is creating new post in database, but not the real page in the blog

 

Helpp!

Coordinator
May 17, 2012 at 5:08 AM

Take a look at SaveQuickPost method at this page. You can probably use it as a template for your own method to create new post.

May 17, 2012 at 7:12 AM

Thank you!!!! :)