Alright, just put in lots of echo commands telling you what’s going on. Rename this file
bbsync.php and replace the old copy with it.
You do not have to make a new post in WP, just pick one that isn’t synchronised and click
save – it will work just the same as though it were new. Copy and paste the output you’ll hopefully get.