I have developed a fb app and the front end side is working great with my own db.
Now I want to make a python program that runs through the command line which posts
PyFacebook is a thin wrapper for accessing Facebook's RESTful API through Python.
https://github.com/pythonforfacebook/facebook-sdk
facebook-sdk, a set of essential tools for working with Facebook in Python. django-facebook, an extensible django plugin for building facebook integrated sites.
http://www.pythonforfacebook.com/