corrected facebook example to work with later version of hapi