Please fill config/rest-core.yaml with your app_id, secret, etc., to see if this example is working or not. The default setup is designed for standalone site with Facebook JavaScript SDK.