Try the following:
$post_id = wp_insert_post( array( 'your', 'args', 'here' ) );
$link = get_permalink( $post_id );
wp_redirect( $link );
die();
Try the following:
$post_id = wp_insert_post( array( 'your', 'args', 'here' ) );
$link = get_permalink( $post_id );
wp_redirect( $link );
die();