I am making an application which queries the database and posts on my facebook account wall. just like twitterfeed/social.But I am not using a blog.I want to have two parts in the application -

1. cron mode : finds the latest rows which come into the database and pushes them to the wall.

2. admin mode : select unpushed fresh rows which are in the database and can be selected from the dropdown or create a new one and push.


The scripting platform can be php/python or any other common language.Please tell me how to go about this.

Thanks.