I was googling for how to post a block in a page, can came across some php code

$block = module_invoke('couloir_slideshow1', 'block', 'view', 1);
print $block['content'];

The aim is to show the slideshow in a page/story

But its not working. I checked the slideshow standalone, and it works, however in the block it does not.
I also don't under stand the "number" after 'view'. What is that supposed to mean?