I am currently working on a site that uses appointments +

I am currently working on a site that uses appointments + and buddypress. I followed the instructions from this post https://premium.wpmudev.org/forums/topic/schedule-calendar-on-the-buddypress-user-profile-page and got the calendar to show up on the users profile page but it's not showing any availability because I need the service id that the user is providing. Is there a way to get this dynamically like getting the users calendar with $bp->displayed_user->id
Thank you