Facebook SDK 7.3.0 in Unity 5.3 – Login, Username & Profile Picture Tutorial
Tagged: Learn English
January 18, 2016 at 3:44 pm #585
This is the forum topic about the first Facebook SDK 7.3.0 in Unity 5.3 tutorial in the series.
Please post any questions in this thread.
GlennJanuary 21, 2016 at 10:35 pm #612
So everything work fine on Unity but when i am on android device and i press Facebook log in button nothing happen. I need some help. ThanksJanuary 22, 2016 at 1:57 am #613
Hi David welcome to the forum.
Do you get any bugs on compiling? Android manifest is all fine too?January 25, 2016 at 7:20 am #616
Thanks for this tutorial! It works very well. Not sure if it will work on an actual Android device though since I haven’t tried it yet.
Anyway, my question is how do I add the E-mail and Password fields onto this one? I mean the tutorial lets me, only me, to log-in. What if I want to log my friend’s account in or something? I’m a beginner in coding C# and in using Unity so yeah, I understand the basics but things like this makes my head explode without the help of some expert like you, Mr. Glenn! 🙂January 25, 2016 at 12:29 pm #619
As far as I’m aware you can’t actually have the username and login in your app. That is unless Facebook is logged out of the device that you’re on and then you try logging in then. The prompt that will come up should allow username and password to be entered before showing the permissions request.
On a side note, it isn’t possible to actually log Facebook out from your app, if you was thinking of going down that route.
I would suggest then if you wanted to log in with another account, you would first open the Facebook app on the device and then log out with that. Also log out of any Facebook logged in inside any web browsers. Then try the Facebook login from your app that you’ve made with this tutorial.
Hope that helps!January 25, 2016 at 12:55 pm #620
Ah yes! So you mean once the user or the owner of the device has his Facebook logged in on the Facebook App itself, that is the account that will be logged in in my App? Now I get it. It’s cool then! 🙂
It’s just a little bit of confusing for me cause believe it or not, I don’t use smartphones even though I’m developing an Android app LOL!
Thanks Glenn! 🙂January 26, 2016 at 5:43 am #622
Oh, and another question, (sorry for double posting) when I log my Facebook in on the Main Menu, and then I go to a new scene by clicking a button, and then I go back to the main menu again, Facebook is now logged out.
In short, how do I make it so that Facebook is logged in on the whole game or application? Thank you for your response! 🙂January 26, 2016 at 10:53 pm #623
I noticed that a few days after I recorded that tutorial! I plan on addressing that in the next tutorial.
I’ll go into more detail with that tutorial, but its along the lines of making FB global or changing it’s scope to be accessed everywhere, which would make it work in all scenes. I need to look at how I did it in an old game that had facebook integration and then I’ll cover it in the next tutorial. Sorry I can’t be more help at this time!January 27, 2016 at 2:29 am #624
Oh, that’s fine! 🙂 Thank you for sharing your time by making these tutorials. They’re really helpful. 🙂February 1, 2016 at 6:23 pm #629
I tried install openssl, but not happens.
Someone know how to fix??February 3, 2016 at 8:00 am #634
Facebook SDK 7.4.0 is out now. The OnGui problem is now fixed. 🙂February 8, 2016 at 4:26 pm #646
Liang Wei HaoParticipant
Hi Mr Glenn.
Thank you for making this tutorial. It really benefits me for the project I doing on tomorrow.
I will like to ask a few questions, sorry for any inconvenient.
Can I will know will this works on window phone game as well? I will also like to implement “Share” function, will it works if I refer to a portion of codes in your older series?
I am thinking to implement the “public void ShareWithFriend()” function.
AllenFebruary 10, 2016 at 11:55 pm #650
I’m not sure about windows phones sorry, I’ve never used them nor do I have any intention of going near them. I’ll just be focusing on Android and iOS in my tutorials.
As for sharing and inviting, new tutorial is uploading right now 🙂February 18, 2016 at 9:27 am #679
Hi there Glenn ! Can you help me ? I followed your codes and I got an error says : ArgumentException: You can only call GUI functions form inside onGUI.
I hope you will reply ASAP. Because its our system in our thesis . Thanks !February 18, 2016 at 11:41 am #680
Hi Steven, please rewatch the tutorial specifically at 10 minutes and 22 seconds in. I talk about this issue in the tutorial and show you how to fix it. Alternatively, download and install version 7.4.0 of Facebook SDK.
You must be logged in to reply to this topic.