I’ve been working for two days straight trying to get this mess to work, and I’ve found nothing but complicated ‘tutorials’ and people just directing to the totally non-comprehensive walkthroughs Facebook has for their APIs. Needless to say, I’m very frustrated.
I seem to have everything functioning on the editor player, although it’s just using a temporary token and not an actual Facebook login. When I try to do it on the Android device, it’s a disaster.
- It never asks for a dialog to allow permissions for the app like I imagine it should.
- When I try to login it takes me to a browser Facebook page, and it has a pink error message saying, “The page you requested cannot be displayed right now. It may be temporarily unavailable [etc., etc.]”
I think part of the problem is that it’s not actually connecting correctly to the Facebook App I made for it. I went through so many steps (NOT mentioned on the Facebook API documentation, I should add), including generating a keystore, installing Java SDK, installing OpenSSL, changing system path variables.
It’s confusing, because the Facebook documentation for the Android section tells how to do a lot of this stuff, but the problem is that it is talking about implementing them into Android projects made from scratch in Eclipse, not with Unity. It’s as if they have no information on implementing it into Android, built with Unity.
Please help me, I’m really completely lost with this mess, and please, PLEASE do not just link me to the Facebook API documentation as a solution. This is becoming a nightmare, and I’m starting to think it’s not even worth this trouble. After all, I am literally only trying to post a score to the player’s Facebook page, that’s it.