I have a PHP based website which has a post/comment system. Can I add a checkbox to my post function so that if it is checked the post will be published to Facebook as well as my own website at the same time?
I have looked through the docs on facebook and I saw a comment plugin, but it’s not really what I am looking for.
I would appreciate a tutorial, links, code, or just general help.
If you’re looking for a way to replicate the auto-posting functionality in the
fb:commentsplugin, the only way to accomplish that is asking the users to install an app. By using the sandboxedfb:commentssocial plugin, Facebook controls the user experience, so users can post to their wall without an install. If you use your own method though, you’ll need to require an install (andpublish_streampermissions).I’d recommend using
fb:commentsif at all possible, since that creates less friction for your users and will be a more familiar experience for them. If you wish to do something with the comment as it’s added, you can subscribe to thecomment.createevent.