Browser Widget and Twitter on iOS 13
Ralph DiMola
rdimola at evergreeninfo.net
Fri Aug 14 08:31:10 EDT 2020
Thanks Panos and Mark!
So... to recap..
1) get the userAgent in Safari on my 10.14.6 Mac
2) in App (If the platform="iphone" then set userAgent to this value).
Should I use the userAgent globally for all browser widget http(s) requests
on platform = iphone?
Will this affect any other tsNet functions?
Should it be reset back to empty for any reason?
Should I file a bug report?
Have a good weekend.
Thanks again.
Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net
-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of panagiotis merakos via use-livecode
Sent: Friday, August 14, 2020 3:40 AM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: Browser Widget and Twitter on iOS 13
Hello all,
Definitely this is related to the user-agent. It seems twitter recently has
become stricter on this:
https://help.twitter.com/en/using-twitter/twitter-supported-browsers
https://stackoverflow.com/questions/63081729/when-using-r-curl-to-download-a
-twitter-page-the-page-downloaded-is-this-brows
https://stackoverflow.com/questions/62967532/ipad-wkwebview-in-case-of-ipad-
i-am-getting-this-browser-is-no-longer-supporte
I get the same warning ("this browser is no longer supported .." ) when I
try to visit https://twitter.com from a browser widget on my Mac (10.14.6)
with LC 9.6.0.
I was able to get rid of the warning by visiting the page Mark posted (
https://www.whatismybrowser.com/detect/what-is-my-user-agent) with Safari to
see what an accepted user-agent is, and then set the "userAgent" of the
browser widget to this value.
Kind regards,
Panos
--
On Thu, 13 Aug 2020 at 20:36, Mark Waddingham via use-livecode <
use-livecode at lists.runrev.com> wrote:
> On 2020-08-13 18:30, Ralph DiMola via use-livecode wrote:
> > That tester has both iPhone and iPad and I know there both running
> > the same version of iOS. iPhone doesn't get the message but the iPad
> > does. I will find out if there both up to the latest 13.x.x. (it
> > flew out of my head after I heard they were running the same
> > version)
>
> So I'm pretty sure this has to be the userAgent string which any HTTP
> client sends up as a header (User-Agent:?) as I don't think any other
> browser-specific/OS-specific/device-specific information is transmitted.
>
> If you can send the user an app with just a browser widget in it where
> they can visit:
>
> https://www.whatismybrowser.com/detect/what-is-my-user-agent
>
> On both the iPad and iPhone they have then at least it will show if
> there *is* a difference between the two devices in terms of what
> WKWebView is sending (can also compare with Safari on the devices too
> which would either confirm or deny my suspicion about Safari not being
> a wrapped WKWebView).
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list