Recommendations for Twitter Integration


#1

Hi All,

I am currently implementing FB & Twitter social logins into an Ionic 2 app.
Facebook was a great success using Ionic Native - Facebook & cordova-plugin-facebook4.

Twitter is a bit of a different beast.
As far as I can tell, there currently isn’t a streamlined way of implementing Auth/Login for Twitter using Angular2/Ionic work flows.

There are a number of libraries for ngCordova and Ionic 1, but I’m not sure how to use these in an Ionic 2 project.
I have looked at ng2-cordova-oauth , however, twitter is currently not implemented.

Has anyone out there successfully implemented a Twitter login / share on twitter in Ionic 2, if so, can you point me in the right direction?

Thanks


#2

I have stumbled upon the following library: https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin

It is written in pure JS and works perfectly within my app for sharing to Twitter (which was the main reason I wanted twitter integration).

But if you have an answer RE: is there a twitter equivalent of Native Facebook for Ionic 2, I’d love to hear it.