How to get post content from an array of ids?

If your first query works you can try something like this :

function get_post_by_id($id){
$content = array();
foreach ($id as $key => $value) {
    $post_content = get_post($value);
    $content[]=$post_content->post_content;
}

return $content;
}

Cheers,
phpbits