swith from js sdk to oauth dialog for Facebook login