add get_thread_by_post action on framework level

Signed-off-by: TomWu <phperwuhan@gmail.com>