How to add support for login with twitter via browser if twitter app is not installled?


#1

I am using Twitter connect plugin https://ionicthemes.com/tutorials/about/ionic2-twitter-login to implement login with twitter in my app and It works fine if twitter app is installed on my phone but it gives login session error if twitter app is not installed on my phone. However in case of Facebook Connect Plugin if facebook app is not installed an inapp browser facebook page is opened to facilitate login.

So how can I implement login with browser for twitter if app is not installed.


#2

Hi Abhi.
You could use an in-app-browser through the cordova plugins to have oauth flow with your application. For twitter do not forget the jsSHA library.


#3

Hi @abhi123
https://github.com/sahat/satellizer

you should use this authentication module to login with twitter and all other social media login