Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by thejohnnyzero · Nov 16, 2016 at 07:25 AM · sdkloginfb

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.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image mgrogin · Jan 19, 2017 at 11:03 AM 0
Share

DId you solve this @thejohnnyzero ?

1 Reply

· Add your reply
  • Sort: 
avatar image
1

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Rodolfo-Rubens · Aug 23, 2020 at 11:30 PM 0
Share

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

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges