You can use the Graph api to publish to facebook wall. Follow this link link
text
You can publish on Facebook's graph by sending HTTP POST requests to the corresponding connection URLs above using the application access token. For example, you can post a new wall post on Arjun's wall by sending a POST request to https://graph.facebook.com/arjun/feed :
curl -F 'access_token=...' \
-F 'message=Hello, Arjun. I like this new API.' \
https://graph.facebook.com/arjun/feed
Hope this helps.
source
share