Post to Facebook check box in front end

Hi,
i created front end custom forms for different post types. is there a way to add a text box that will trigger the "post to Facebook" action?

thank you