Like button for users that are not logged in


Using: Social Theme with BuddyPress.

I have checked the function.php::add_stream_facebooklike_button() function, and saw that it only inserts the Facebook Like button for logged in users (the function's code is attached bellow).

Is there any particular reason why adding a Like button to an activity is restricted only to Logged-in users?

function add_stream_facebooklike_button() {
$permalink = bp_get_activity_thread_permalink();
if ( preg_match('#/p/(\d+)/?#i', $permalink, $matches) )
	$permalink = bp_get_activity_user_link() . bp_get_activity_slug() . '/' . $matches[1] . '/';
<?php if(is_user_logged_in()) { ?>
<div style="margin: 14px 0px; float:left; width: 100%; clear:both;">
	<div class="fb-like" data-href="<?php echo $permalink ?>" data-send="false" data-width="450" data-show-faces="true"></div>
<?php } ?>