Skip to content
This repository has been archived by the owner on Oct 5, 2019. It is now read-only.

v3.4.1 how to open webview auth page when I use [Twitter sharedInstance] logInWithCompletion:^**] method? #121

Open
s1lence2012 opened this issue Sep 10, 2019 · 4 comments

Comments

@s1lence2012
Copy link

s1lence2012 commented Sep 10, 2019

How to open webview auth page when I use [Twitter sharedInstance] logInWithCompletion:^**] method? or other way to login in with Twitter?
ps: v3.4.1 in the project now.

Expected behavior

Open the app for authorization when the twitter app is installed, and open the webview page for authorization when the app is not installed.

Actual behavior

login in with Twitter is ok only when Twitter app is installed, it will false auth when Twitter app is not installed. It can't open the webview page when using this method.

Steps to reproduce the behavior

Just use [Twitter sharedInstance] logInWithCompletion:^**] method to auth before login in with Twitter.

Thanks.

@s1lence2012
Copy link
Author

I set callback url,then the problem had fixed.However, another issue has appeared, ....

√ if I hasn't installed the twitter app, it will open the web auth page.It seems ok.
× If I install the twitter app, it will open the twitter app to auth, but when I cancel return to my app, it open the twitter web page authorization. Why? Now repeatedly evoke, how can I only evoke an authorization once?
Help Please,tks....

@zhangchangrui
Copy link

ME,TOO
I set callback url,then the problem had fixed.However, another issue has appeared, ....

√ if I hasn't installed the twitter app, it will open the web auth page.It seems ok.
× If I install the twitter app, it will open the twitter app to auth, but when I cancel return to my app, it open the twitter web page authorization. Why? Now repeatedly evoke, how can I only evoke an authorization once?
Help Please,tks....

@zhangchangrui
Copy link

我设置回调网址,然后问题已修复。但是,出现了另一个问题,....

√如果我没有安装推特应用程序,它将打开网络身份验证页面。似乎没问题。
×如果我安装了Twitter应用程序,它将打开twitter应用程序进行身份验证,但是当我取消返回我的应用程序时,它会打开Twitter网页授权。为什么?现在反复唤起,我怎么才能唤起一次授权呢?
请帮助,请...

Hello, would you like to ask this question, have you solved it? I have encountered the same problem, if the solution hopes to tell how to solve it.

@zhangchangrui
Copy link

I set callback url,then the problem had fixed.However, another issue has appeared, ....

√ if I hasn't installed the twitter app, it will open the web auth page.It seems ok.
× If I install the twitter app, it will open the twitter app to auth, but when I cancel return to my app, it open the twitter web page authorization. Why? Now repeatedly evoke, how can I only evoke an authorization once?
Help Please,tks....

Hello, would you like to ask this question, have you solved it? I have encountered the same problem, if the solution hopes to tell how to solve it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants