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
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed