The Recommendation Bar is still in beta and won't work for anyone other than the App Administrators / Developers / Testers.
End-users will only get actions published once Facebook has approved the action. This usually takes a day or two if you provide adequate instructions. You will need to make sure users are able to remove their activity from within your site - this is a requirement for submitting a action:
Please make sure your users can
- Turn sharing on/off globally on each page an article appears.
- Remove articles they shared within your app on each page an article appears.
- Only generate read actions when you're sure someone is interested in reading the article.
For my WordPress site, I used some code like:
setTimeout( function() {
FB.getLoginStatus(function(response) {
if (response.status === 'connected') {
// publish action to facebook
FB.api( '/me/{$action}', 'post', { article : '{$permalink}' } );
} else if (response.status === 'not_authorized') {
// the user is logged in to Facebook,
// but has not authenticated your app
} else {
// the user isn't logged in to Facebook.
}
});
}, 2000 );