Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKris Rajendren
12,822 PointsFacebook Login, OAuth, Sharing on Facebook and Instagram, Stripe and Apple Pay
I'm trying to create an App where the user can login using Facebook. I want to store the user information in Firebase. I want to use OAuth if required to access profile photo and list of friends from Facebook. I want the user to be able to share their content on Social Networks Facebook, Instagram and Twitter. I also want to set up a payment system using Apple Pay on iPhone 6 and above and a Stripe payment system for older iPhone models where the user just enters their card information once and its stored securely for future purchases. I need specific resources / lessons to get this done within the next week or two. Any help is greatly appreciated.
2 Answers
ianhan3
4,263 PointsI'm actually doing this currently for a project with Firebase and Stripe. It's not terribly complicated if you follow each API docs. Sharing to their social networks (like sharing to mail or notes) is easy and doesn't require you to connect or configure your app to work with any API. For login, Firebase already has FB and Twitter (along with GitHub and Google) integrated and they walk you through the process (go to your app in firebase and on the left side hit login & auth then on the top hit the social network of your choosing). Stripe does the same in terms of walking you through set up and you can use it with Apple Pay now so no need to implement more than one payment processor.
What are you questions with it so far?
Kris Rajendren
12,822 PointsHi Ian, thanks a lot for your response. Somehow my notifications did not show up your response and so I just saw your answer now. My main issue with following the SDK guides is that quite often they are either Objective C scripts or a much older version of Swift. I'm still not conversant enough to be able to backtrack the steps on my own but I'm trying. I will let you know the specific issues that hold me down if I'm not able to resolve them. I have found there are two courses in Udemy that specifically discuss these aspects of integrating social media sharing and login using Firebase and integrating Apple Pay. These are
- iOS 9 and Swift 2: From Beginner to Paid Professional
- Intermediate iOS - Get Job Ready with Swift 2
both by Mark Price from Devslopes.com.