huyouare / SwiftParseChat

An Example iOS Chat Application with Parse, written in Swift
316 stars 63 forks source link

Problem if I change FB credentials in info.plist . #13

Open Skper11 opened 9 years ago

Skper11 commented 9 years ago

Hi, Can anybody explain this to me as I'm a complete newbie with alamofire. I've using this example as a test project and when I run this for the first time, everything works fine. But one small tweak like changing the FB credentials in the info.plist messes up my FB login as the app crashes suddenly with a null pointer uncaught exception. Why is this ? Except the FB credentials, nothing is changed.

jamesvillarrubia commented 9 years ago

You ever figure this out?

Skper11 commented 9 years ago

I think, this had something to do with the FBGraphRequest used while logging in using FB button. I'm relative new to Swift Programming, so it was very confusing as to how the login fails only when the fb details are changed.