Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link Twitter Account not working on Windows 10 #27

Closed
jsutxhx opened this issue Apr 1, 2020 · 27 comments
Closed

Link Twitter Account not working on Windows 10 #27

jsutxhx opened this issue Apr 1, 2020 · 27 comments

Comments

@jsutxhx
Copy link

jsutxhx commented Apr 1, 2020

Thanks for the contributor share me with this app. When I install the hydrator in Windows. run it and when I click the 'Link Twitter Account' or any other function button. the app did not response. and I can't do anything with it.
Is there some configuration should do in Windows platform to run it?

@edsu
Copy link
Member

edsu commented Apr 2, 2020

Was your computer connected to the internet at the time?

@jsutxhx
Copy link
Author

jsutxhx commented Apr 2, 2020

Yes, I connect the internet with VPN.

@jsutxhx
Copy link
Author

jsutxhx commented Apr 2, 2020

I can visit the Twitter website when I surf with the VPN, and it doesn't work with the hydrator software.

@edsu
Copy link
Member

edsu commented Apr 2, 2020

What version of windows are you using? I dont have access to Windoes but I can try to test.

@jsutxhx
Copy link
Author

jsutxhx commented Apr 2, 2020

The Windows version is Win10 Home Edition. Thanks a lot.

@kilitougo
Copy link

I had the same problem, did you solve it?

@edsu
Copy link
Member

edsu commented Apr 13, 2020

No I still need to test :-( I will prioritize that though.

@plumcola
Copy link

Here is Win10 and I had the same problem, too : (

@edsu
Copy link
Member

edsu commented Apr 16, 2020

I'm working on updating the Hydrator code base so I can better diagnose this problem. I apologize for the delay. If you need to start hydrating now, and aren't turned off by dabbling at the command line, take a look at our other tool twarc: https://github.com/docnow/twarc#hydrate

@edsu
Copy link
Member

edsu commented Apr 17, 2020

So I got a chance to test v0.0.3 of the Hydrator on Windows 10 and the Link Twitter Account button works as expected. When you click that button your default browser should open a window at Twitter and ask you to allow the Hydrator app to use your Twitter account in order to talk to the API.

Can you tell me what your default web browser is? Are you able to click on links in other applications and have them open ok? Do you have any firewall settings that might prevent an application from opening a browser window?

Here's a screenshot of Hydrator running on Windows 10 after I linked my Twitter account:
screen

@edsu
Copy link
Member

edsu commented Apr 18, 2020

v0.0.4 of the Hydrator was just released which is now based on the most recent version of Electron. It's unlikely, but possible that the problem you are noticing will go away when using the new version. Could you give it a try and let us know?

@plumcola
Copy link

I have tried the v0.0.3 and v0.0.4 with opening Twitter on Chrome browser, and I failed. I closed the firewall. However, when I click the options in Help in Hydrator, it works successfully on opening relevant web pages on Chrome. Maybe I've set something wrong TAT

edsu added a commit that referenced this issue Apr 20, 2020
We've been getting reports of the hydrator on Win10 being unable to open a
browser window pointed at Twitter for authorization. This commit opens
the window from the main process rather from the renderer in the hopes
that Win10 users will have more luck. refs #27
@kilitougo
Copy link

kilitougo commented Apr 20, 2020

I have tried the v0.0.3 and v0.0.4 with opening Twitter on Chrome browser, and I failed. I closed the firewall. However, when I click the options in Help in Hydrator, it works successfully on opening relevant web pages on Chrome. Maybe I've set something wrong TAT

@plumcola same with you, are you using a VPN?

@edsu
Copy link
Member

edsu commented Apr 20, 2020

@plumcola thanks for testing v0.0.4 -- I'm sorry it didn't work. I made a small change to the way the Twitter URL is being opened. Can you try v0.0.5?

Also, do you have any security extensions installed in Chrome that might be preventing it from opening a Twitter URL?

I'm also curious if temporarily setting your default browser to Edge has any effect?

And like @kilitougo said testing with/without VPN on is definitely a good idea.

@edsu edsu changed the title About run the hydrator in Windows platform Link Twitter Account not working on Windows 10 Apr 20, 2020
@edsu
Copy link
Member

edsu commented Apr 20, 2020

One other question for all of you who are having problems on Win10. Do you use a Twitter Desktop app that might be intercepting the open?

@ppival
Copy link

ppival commented Apr 20, 2020

FWIW, I just ran v.0.05 on Win10 Education version 1909. Chrome is the default browser, with no extensions, and all worked as expected. Unlinked my account, connected to my work VPN and ran it all again and it still worked as expected.

seems like Hydrator is ok, and it's a setting at the user end? Happy to try to test various configurations...

@edsu
Copy link
Member

edsu commented Apr 21, 2020

@ppival thank you for testing! that confirms my experience on a Win10 VM but it's really good to have another report of success.

1 similar comment
@edsu
Copy link
Member

edsu commented Apr 21, 2020

@ppival thank you for testing! that confirms my experience on a Win10 VM but it's really good to have another report of success.

@kilitougo
Copy link

Thanks for your efforts! However, after downloading the latest version, I still can not connect to my twitter account correctly. It asks me to input a pin, but no browser is opened. I can't input a pin.

@edsu
Copy link
Member

edsu commented May 4, 2020

@kilitougo Do you use antivirus software? What browser do you use, and do you have any security extensions installed in it?

@kilitougo
Copy link

I use windows defender, chrome of latest version and I open hydrator as administrator. Windows defender did warn me but I click run.

@edsu
Copy link
Member

edsu commented May 6, 2020

@kilitougo does temporarily disabling Windows Defender help at all? Also maybe there are some hints here? https://support.microsoft.com/en-us/help/4013218/windows-10-app-browser-control-in-windows-security

I'm sorry, but I am not a Windows administrator, and it is very difficult for me to help when I cannot replicate the same problem in my own Windows 10 environment. It is a longshot but maybe @kayiwa might have some other ideas?

edsu added a commit that referenced this issue May 21, 2020
This commit makes the URL for authorizing the Hydator at Twitter visible
for users where the Hydrator was prevented from opening the window
directly. See #38 and #27 for context.

In addition the User's screen name is collected after linking so that
can be displayed along with the keys.
@edsu
Copy link
Member

edsu commented May 21, 2020

I've just released v0.0.8 which should display the Twitter authorization URL you will need to point your browser at which should be handy when Hydrator is unable to open the browser itself.

@kilitougo @plumcola @jsutxhx would you be willing to give it a try and see if it helps?

https://github.com/DocNow/hydrator/releases/tag/v0.0.8

@1eclipse
Copy link

1eclipse commented Jun 3, 2020

hello, i do not know how to install and use hydrator. i have download hydrator from github. What should I do next? I'm confused. my machine is winOS. Can you give me some help? Thank you!!!

@edsu
Copy link
Member

edsu commented Jun 9, 2020

Please download a Windows installer from here:

https://github.com/DocNow/hydrator/releases/

Look for a release like:

  • Hydrator-Setup-0.0.11.exe

Once you download and run that you should have a workable Hydrator on windows. I think many people were confused because they were attempting to build Hydrator from source which does not include keys. Instructions for adding your own keys have since been added to the README. I hope this helps. See #43 for more context.

@edsu edsu closed this as completed Jun 9, 2020
@ELLEN15038979725
Copy link

Is this problem solved now? Has anyone successfully used it on win10? I installed several versions, but the button did not respond

@edsu
Copy link
Member

edsu commented Dec 9, 2021

Yes, people have.

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

No branches or pull requests

7 participants