Can you help me understand why you would need the wp-id if the plugin is storing the topic_id after it creates a new topic?
Are you not able to look up the topic_id in the the wordpress post_meta data?