I found this article on updating your Facebook status using PHP but since PHP is flawed by design and is a pain to use, here's the code for a Python version. Much cleaner to read and all the components you needed are installed when you install Python.
# Facebook Status Updater
# by Rudolf Olah <omouse@gmail.com>
# Licensed under the Do-Whatever-You-Want-With-This license
import urllib2, re, sys
if len (sys.argv) < 4:
print 'USAGE: python %s email password status' % sys.argv[0]
sys.exit (1)
email = sys.argv[1]
password = sys.argv[2]
status = sys.argv[3]
opener = urllib2.build_opener (urllib2.HTTPCookieProcessor ())
urllib2.install_opener (opener)
loginRequest = urllib2.Request ('https://login.facebook.com/login.php?m&nex\
t=http%3A%2F%2Fm.facebook.com%2Fhome.php',
'email=%s&pass=%s&login=Login' % (email, password))
urllib2.urlopen (loginRequest)
connection = urllib2.urlopen ('http://m.facebook.com/')
form_id = re.findall ('name="post_form_id" value="(\w+)"',
connection.read ())[0]
print form_id
print 'Changing status to "%s"' % status
statusRequest = urllib2.Request ('http://m.facebook.com/home.php',
'post_form_id=%s&status=%s&update=Update' % (form_id, status))
connection = opener.open (statusRequest)
print 'All done :)'
Documentation for the urllib2, re and sys modules is available at python.org.
Enjoy!
edit: this version works for sure.

Ugh, I need to test things more often. I just tried the script again and the URLs are wrong I think. I'll try this again tomorrow.
Posted by: omouse | 04/29/2007 at 12:08 PM
Ok, I just edited the post and it has the correct code. Here's a two-line shell script to quicken things.
is.sh
Change the permissions of the file: chmod a+x is.sh
Posted by: omouse | 05/10/2007 at 11:45 AM
Только самые качественные и интересные порно онлайн
ролики, которые вы можете посмотреть совершенно бесплатно. Каждый
ролики длится от 30 сек до 60 мин. Также на нашем сайте xrest.net можно
скачать порно фильмы. Горячее порно только на нашем порно сайте.Также у нас можно скачать порно, не нужно отправлять никаких смс и регестрироваться
Posted by: olekitka007 | 02/04/2010 at 06:54 AM
You have a startling blog. Thanks for escalating my awareness. I was not well-known with it. For more update I will stay more. I am plagued with your illustration. Thanks for giving out your entertainer mind's eye.
buy viagra
Posted by: stef25 | 04/27/2010 at 01:41 PM