Add post_to_facebook function

@flavour please review.