I noticed recently that IPB added the IPB REST API. This is sweet! So I wrote a quick bit of code in order to pull recent topics or comments to any site. The IPB REST API must be enabled in your administration. Just search “rest” in the admin and go through the steps to enable it. It will provide you with a key which you will need for the below.
[gist https://gist.github.com/gwhitcher/3615e594e5d578c08cd493c5a488c864 /]