Hey everyone! I'm facing a frustrating problem with the `Download-ODLivePhotos.ps1` script. When I try to run it, the WebView2 window pops up but just shows a blank white screen, making it impossible to log in and get the necessary `AccessToken` automatically. I've tried reinstalling and updating WebView2, but nothing seems to work. I ended up finding a manual workaround to extract the token myself. Here's how you can do the same if you're in a similar situation!
3 Answers
Yeah, I had a similar blank screen issue! It drove me nuts, and I was trying everything to fix it. I ended up finding that using Chrome for the token extraction made a difference for me. Just make sure browser tools are correctly set up, like disabling the cache. After that, my script ran smoothly!
I think the issue you faced with WebView2 is more common than you might think. It's a good idea to check the script's GitHub page for updates—sometimes, bugs get fixed, and a newer version might solve the problem! Also, it’s smart that you dug into manual token extraction. That method can definitely work around a blank screen! But remember, if the goal is unattended automation, relying on this method might not be ideal since you'd have to keep fetching tokens.
True. Automation sounds complicated, but they might have added a function to handle token generation automatically. It would definitely save users like us a lot of hassle!
Man, WebView2 has been such a pain! I tried on multiple PCs too, and it was just as frustrating. It's good to know I'm not alone in this! I guess we just have to find alternate ways to get things done like you did, right?
Good tip! I'll try that. I didn’t think about the browser affecting it. Thanks!