[英]FBSDK check if user has already authorised app Swift
I'm setting up log in with facebook, and what I am trying to do is when the user authorises the app for the first time they get segued to a new VC where they select a username. 我正在设置登录facebook,我想要做的是当用户第一次授权应用程序时,他们会被选择一个用户名的新VC。
But if that user logs out and then logs in again with facebook I dont want him to go to the new vc where he selects a username but the Homepage.... 但是,如果该用户退出然后再次登录facebook我不希望他去新的vc,他选择用户名但主页....
Not sure how this is done and haven't been able to find any posts about this apart from how to check if user is logged in.... 不知道如何做到这一点,除了如何检查用户是否登录之外,还没有找到任何关于此的帖子....
Thanks in advance to anyone! 在此先感谢任何人!
Facebook isn't going to tell you that you have logged with this app earlier or not. Facebook不会告诉你,你之前是否已使用此应用程序登录。
What you can do, try like below things. 你可以做什么,尝试下面的事情。
I hope you understand the process. 我希望你理解这个过程。
Have a happy coding. 有一个快乐的编码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.