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

Facebook Login error

This is the log message I get:

Terminating app due to uncaught exception 'com.facebook.sdk:InvalidOperationException', reason: 'FBSession: No AppID provided; either pass an AppID to init, or add a string valued key with the appropriate id named FacebookAppID to the bundle .plist' ** First throw call stack: (

0 CoreFoundation 0x029511e4 exceptionPreprocess + 180 1 libobjc.A.dylib 0x027088e5 objc_exception_throw + 44 2 CoreFoundation 0x029e0fe1 -[NSException raise] + 17 3 Ribbit 0x0005a1dd -[FBSession initWithAppID:permissions:defaultAudience:urlSchemeSuffix:tokenCacheStrategy:] + 296 4 Ribbit 0x0005a0b0 -[FBSession initWithAppID:permissions:urlSchemeSuffix:tokenCacheStrategy:] + 69 5 Ribbit 0x000a192b __53-[PFFacebookAuthenticationProvider initializeSession]_block_invoke + 265 6 Ribbit 0x000c5cec -[PFThreadFactoryBlockRunner invokeFactory:] + 20 7 Foundation 0x0235794f -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 863 8 Foundation 0x02391f59 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:] + 138 9 Ribbit 0x000c5efe -[PFReceptionist initWithFactory:thread:] + 236 10 Ribbit 0x000a17d1 -[PFFacebookAuthenticationProvider initializeSession] + 159 11 Ribbit 0x000a3037 +[PFFacebookUtils initializeFacebookWithUrlShemeSuffix:] + 81 12 Ribbit 0x000a2fe1 +[PFFacebookUtils initializeFacebook] + 44 13 Ribbit 0x00012fed -[AppDelegate application:didFinishLaunchingWithOptions:] + 285 14 UIKit 0x013c214f -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 309 15 UIKit 0x013c2aa1 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1810 16 UIKit 0x013c7667 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 824 17 UIKit 0x013dbf92 -[UIApplication handleEvent:withNewEvent:] + 3517 18 UIKit 0x013dc555 -[UIApplication sendEvent:] + 85 19 UIKit 0x013c9250 _UIApplicationHandleEvent + 683 20 GraphicsServices 0x033b4f02 _PurpleEventCallback + 776 21 GraphicsServices 0x033b4a0d PurpleEventCallback + 46 22 CoreFoundation 0x028ccca5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 53 23 CoreFoundation 0x028cc9db __CFRunLoopDoSource1 + 523 24 CoreFoundation 0x028f768c __CFRunLoopRun + 2156 25 CoreFoundation 0x028f69d3 CFRunLoopRunSpecific + 467 26 CoreFoundation 0x028f67eb CFRunLoopRunInMode + 123 27 UIKit 0x013c6d9c -[UIApplication _run] + 840 28 UIKit 0x013c8f9b UIApplicationMain + 1225 29 Ribbit 0x000185ed main + 141 30 libdyld.dylib 0x03002701 start + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)