Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

facebook-web and foursquare providers #12

Closed
kornifex opened this issue Jan 22, 2014 · 5 comments
Closed

facebook-web and foursquare providers #12

kornifex opened this issue Jan 22, 2014 · 5 comments

Comments

@kornifex
Copy link
Contributor

Hi!

I've been looking at SimpleAuth in order to use it in my application and find it very interesting, but I have several questions to ask. One of my goals is to be able to connect my users via Facebook, Twitter or Foursquare.

Do you plan to add a fallback mechanism for the providers which have a web equivalent? (e.g. Facebook or Twitter) Or is it the responsibility of the user/developer to switch to the web provider when the native one doesn't work?

I read on your blog that you don't like having 3rd party SDKs in your app, and that it is one of the motives behind SimpleAuth ; nonetheless, I saw that you were planning on adding Foursquare to the providers. Will you use the official oauth framework? If not, how will you manage to do it?

I'm still analyzing your library and might integrate it in my app in the next few days, therefore I will probably implement the Foursquare provider.
I'll be glad to open a PR when and if my provider works well.

Thank you for the great lib. :)

@calebd
Copy link
Owner

calebd commented Jan 22, 2014

Hey! I do plan on adding a fallback mechanism. Haven't quite got there yet. I also do not plan on using any company's official SDK to roll providers. Most of the providers I want follow an OAuth 1.0a (Tumblr, Twitter) or OAuth 2 (Instagram) pattern that is easy enough to integrate with. If you have providers for either of those please feel free to send a PR. If you would like help let me know!

@calebd
Copy link
Owner

calebd commented Jan 22, 2014

In fact, I can go ahead and work on one of these. Is there one that you would like to work on? I can work on the other one...

@kornifex
Copy link
Contributor Author

Hey,

Thanks for the quick anwser! :)
I'll try to get my hands around the Foursquare provider as I'm not quite comfortable with ReactiveCocoa yet…

Thanks again for being so prompt!

@calebd
Copy link
Owner

calebd commented Jan 22, 2014

Ok great. For what it's worth, I have been using ReactiveCocoa just to simplify networking stuff within each provider. The providers API does not require that you use it, and you should not feel pressure to use it. Use whatever you are comfortable with!

@calebd
Copy link
Owner

calebd commented Jan 22, 2014

Facebook web login is in master! #14

@calebd calebd closed this as completed Jan 23, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants