They shouldn't index stuff with a login or pay wall anyway, or should put it in a separate tab of the results or something (that is, other than in countries where they were forced to).
One good change that happened on Twitter recently is that the login nagscreen now has a close-button.
Part of my job involves investigating stuff that's often behind a paywall, but the paywall is leaky enough that Google Search displays snippets of what I'm looking for in the results. So I'm often grateful to see these paywalled results come back because it means I've hit paydirt, and if Google weren't indexing the snippets, I would have no visibility into this stuff, and it'd be a huge hindrance to me.
Under the same standards, HN (and many other sites) wouldn't be indexed either.
HN doesn't have a login wall to read anything.
But tweets are on the public web without login.
It changes over time, sometimes there will be a dismissable popup, for a while it couldn't be dismissed. It does seem to work now for non-nsfw tweets, but nsfw login-walled ones are indexed by Google too I believe.
Specific tweets, yes, but if you want to scroll a person's profile, you'll need an account after about a page of scrolling.
no, just close that popup? if it even appears... when is the last time you've used twitter
Logged out - about two weeks ago, couldn't close the pop-up, no X button. Perhaps it was changed recently but doing it on mobile was simply not an option for a long time.