- Home /
Facebook Login Invalid App Id : 0
Hello, I have been stuck in a loop for a few days now. When I test my app in Unity the Facebook login works fine. I have added it to the Play Store and downloaded to test and I get invalid app id 0 when attempting to log in on my devices. I have checked and rechecked code. I ran a Debug.Log at Init and it shows the correct app id when initializing. I have gone through every facebook setting I can find.
I compiled the examples in the sdk and ran them on a tablet and got the same result. I have no idea where to go from here.
Answer by benzsuankularb · Jul 03, 2017 at 09:52 AM
Problem is in the Facebook's setting window, It doesn't pass any parameters during their init.
If you debug in the logcat during app start you will found app id was 0.
There're 2 overload method for FB.Init()
Use another one to pass your app id manually.
Done. WT* Facebook. Give my 3 days back.
Thanks a bunch dude, that did the trick! I'm so pissed right now, I'm also 3 days trying to solve those stuff, wtf those engineers that is working on gpgs and facebook plugins have in their freaking $$anonymous$$ds. I'm just trying to link chilliconnect accounts to gpgs or facebook but absolutely nothing seems to work...
Your answer
Follow this Question
Related Questions
Facebook SDK login problem on Android 0 Answers
FB Integration 0 Answers
Facebook ShareLink & FeedShare Don't Use Title or Description 4 Answers
Facebook Login and Logout problem 1 Answer
How to get FB SDK accesToken for page ? 0 Answers