@shubham9
I have not used this, but I was looking at it yesterday and now thinking about it ->
Facebook Like User Activity Stream for BuddyPress
I imagine you could read up on the latest discussions about parse_Args and such and code this yourself.. I have a good imagination though..
I myself have been considering asking for a way to display both the “profile tab” and the “activity” tab info below that.. with a selectable filter for “Just John Doe” or “John Doe and friends” or something like that.. think that would be cool – and likely not too hard to mashup…
but I’m still learning php, maybe someone else has an idea on how to make that happen with a simple them functions.php mixin .. I already have a think in bp-custom to make the default profile page show the profile tab instead of the defaults.. so the code is here and there around here I guess.
Core URL’s avaible on a profile activity page are taylored to go to that user, so it is not possible (at least very complicated) to show whole site activity feed on such page.
But you can modify SWA page to show friends activities as first tab (instead ALL) by default
Eventually in WP reading settings, you choose also Activity page as static Front page.
https://buddypress.org/support/topic/how-do-i-change-my-activity-from-everything-to-updates-on-default/#post-183088
Different other methods explained here
bp_ajax_querystring()
Using bp_parse_args() to filter BuddyPress template loops