Query bp_forum_topics


I was wondering if there was a way i could query the BuddyPress forum topics? Similar to the way we can query posts in wordpress (i.e. <?php query_posts(‘posts_per_page=3’:wink:; while (have_posts()) : the_post(); ?>:wink:

I am looking to display the latest forum topics on the homepage of my site but only display the latest 3.

Any help or guidance would be greatly appreciated.