SwiftDDP (Meteor client for iOS) now supports login with Facebook, Twitter, etc

SwiftDDP now supports login with Facebook, Twitter, Google and Github.

It works with the standard, unmodified Meteor accounts packages: accounts-facebook, accounts-google, etc.

Usage is simple:

Meteor.loginWithFacebook(FACEBOOK_CLIENT_ID, viewController: self)

  • FACEBOOK_CLIENT_ID is the app id,

  • self is the current view controller which inherits from UIViewController.

Calling this method invokes a modal view that handles the OAuth dance, grabs your credentials and logs you into your server.

Comments, feedback, pull requests welcome.

Cheers,
Peter

6 Likes

This is awesome, thanks for sharing the update.