You have to add redirect URL in app settings. Please refer Unable to connect to facebook - #5 by kishanprmr.