bp_ajax_querystring()

You can filter the output of the Activity loop using bp_ajax_querystring. Read about other queries you can pass the activity stream and learn more about the Activity loop here.   To filter ajax: Source File bp_ajax_querystring() is located in bp-core/bp-core-template.php