Modern Script Loading
If you're implementing module/nomodule, this might help clarify the trade-offs and options you have available.
http://jasonformat.com/modern-script-loading/ …pic.twitter.com/a3jVXzGfVY
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
I agree. In particular, User-Agent sniffing is great as long as your rule for unknown agents can safely be the same as your preferred path, which means that you are specifically making rules to catch a known set of old agents, whose number will only dwindle over time, not grow.
if (navigator.appVersion > 11)
UA parsing gives the most granularity, but requires your server to vary responses (good for some not all). Other approaches trade-off granularity for ease and breadth of implementation. Have advised using a mixture based on a websites goals for ~20 years with success.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.