Added and altered code to allow submissions of posts and topics to FB.