Fixed a bug with facebook redirect url