Is Faceboo Auth Link below not valid on IONIC

Hi

I build my code using this logic

is this link no longer valid with the new IONIC? Can you suggest a alternative way of doing FB Auth using Firebase if this wont work?