- Home /
Facebook in editor access token auto paste
Hello. I was wondering if there is a way to paste the facebook access token for the login in editor automatically in the text field or to even send login with that specific token without copy paste. When I start testing functionality it takes some time to always copy and paste the code. It would be a lot easier to login right away. Thank you for your help!
Answer by gkngkc · Mar 05, 2017 at 03:25 PM
Like Altaf-Navalur said. It can be done with reflection.
Put this after FB login: https://gist.github.com/gkngkc/9d971afbf4a73e392bde45df46b7fb7a
Answer by Altaf-Navalur · Mar 02, 2017 at 11:22 AM
It depends on which version of FB SDK you are using, If you are using Fb SDK < 7.8, the you can modify MockLoginDialog to save the token in player prefs & use the same every time you launch.
If you are using the latest version(7.9 as of now), then you have to write some code using reflection to fake it.
Your answer
Follow this Question
Related Questions
facebook login on android 0 Answers
Facebook Login " Invalid App Id : 0 " 0 Answers
How to get facebook login pop in my unity project? 0 Answers
unishare help!!!! 1 Answer