added groupId to postBlockToPlatform

@nicolashery, @jebeck  and @jh-bate this is working in progress.