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 trial

iOS

Objective C - iOS. Facebook login - help !

Hi!

It feels like i have been in every corner of the internet, trying to find a good tutorial example of a facebook login which has one simple login view controller that parses data to another viewcontroller AND is using storyboards, not xib files.

I cannot seem to find one or do it myself, most likely do to my inexperience with iOS/Objective C.

Does anyone have a good example or tutorial for this?

3 Answers

Have you tried the docs? https://developers.facebook.com/docs/ios/sample-apps - They have sample applications that accomplish what you need to do. I'm not sure if they use storyboards or not, but it's really all not hard to learn to port from xib to storyboards.

Try parse.com, allows for db storage as well as simple login /registration for your users. Fully functional/supported with Facebook and Twitter as well.

Hello Thank you for replying! The thing is, we will be using our own backend, so Parse wont be a possible option, as far as i understand that is a backend solution.

To be clear, what i am looking for is a simple tutorial, involving a LoginViewController, another viewcontroller inside a navigationcontroller which recives the userdetails from the loginViewController, using a NSDictionary with user.id, name and age.

If you, Jason or anyone could point me in the right direction it would be much appriciated!

Edit: It needs to implement storyboards!