Which part of the how to are you having issues with?
Your bot can post to either a Facebook profile, or Facebook page. It can post from an RSS feed, auto post a set number of scripted posts, or respond to your wall posts and comments.
For some things, like replying to posts, or replying to page messages, you need to create you own Facebook app and link it to get permission.
Are you trying to connect to a Facebook profile or page?