News for hackers. Stuff that matters.
Re:Twitter starts to require login to view tweets by logicalmonster on Tuesday August 24, 2021 @10:43AM (#28289491)
Managements always work toward managing towards what they can measure. I’m sure that daily signups are a metric that they track, hence they’ll prioritize signups even at the cost of user frustration and love, something that’s less tangible.

This is the kind of thing that kept me off Quora forever. It’s a great resource but I don’t feel like logging in 100% of the time. So now I just ignore all of their links.

Re:Twitter starts to require login to view tweets by miohtama on Tuesday August 24, 2021 @11:22AM (#28290044)
Also Twitter had changed their policy regarding API keys. You no longer just ”get” them. You need to apply. I was rejected for getting key to export my own tweets.

Of course, this means everyone is using web scrapers for what was used API keys before, because of you can use public internal API.

Re:Twitter starts to require login to view tweets by arsome on Tuesday August 24, 2021 @12:08PM (#28290711)
I prefer to just steal keys by reverse engineering mobile apps. So easy to get keys for just about anything and charge someone else for it that way.
Re:Twitter starts to require login to view tweets by anon9001 on Wednesday August 25, 2021 @03:31AM (#28298936)
Excellent replies to everyone in this thread. You're spot on.

Just out of curiosity, is there a marketplace for private APIs? I'd love if you could elaborate on the "charge someone else for it" part.

Re:Twitter starts to require login to view tweets by mguerville on Wednesday August 25, 2021 @05:33AM (#28299532)
I know of RapidAPI by rakuten, it operates as an API marketplace like this
Re:Twitter starts to require login to view tweets by hn_99 on Tuesday August 24, 2021 @12:38PM (#28291236)
Interesting. As someone who hasn't done any mobile dev at all, is there a way to prevent something like this from happening? Can't you somehow encrypt such secrets in the app?
Re:Twitter starts to require login to view tweets by arsome on Tuesday August 24, 2021 @12:42PM (#28291321)
You can try, but you won't succeed against a dedicated reverse engineer, simply dropping a hook in on the API calls would be enough to grab the decrypted key in a case like that, if not simply statically reading the encryption keys and decrypting it. That's not to say it's useless - some reversers will simply move on to the next app when there's a list of dozens.

You can also send requests via your own server, which would allow you more control over the requests that get sent out to your 3rd party APIs and just restrict tokens as much as possible to the minimal set of features necessary for your application.

Re:Twitter starts to require login to view tweets by gligorot on Saturday August 28, 2021 @02:56AM (#28336159)
What about secure key import on Android? It's still not that widely available, but should be everywhere in a few years. The idea is:

-a keypair is generated in secure hardware

- you send the public key to a server which encrypts the secret key with it

- the server sends the encrypted key back

- then it goes inside the secure hardware where it gets decrypted

The decrypted secret key is never in the userspace.

Re:Twitter starts to require login to view tweets by powvans on Tuesday August 24, 2021 @02:00PM (#28292617)
Mobile developers can implement certificate pinning to prevent man in the middle snooping. Twitter's app does this.
Re:Twitter starts to require login to view tweets by arsome on Tuesday August 24, 2021 @02:07PM (#28292697)
That achieves nothing against someone who uses something like apktool/baksmali to do static RE, let alone inject something like Frida to perform dynamic RE. There are even Xposed modules designed to just bypass certificate pinning.

Certificate pinning is a good security measure, but not a counter-RE one.

Re:Twitter starts to require login to view tweets by saagarjha on Wednesday August 25, 2021 @03:46AM (#28299016)
Certificate pinning is neither a good security measure nor a good obfuscation one.
Re:Twitter starts to require login to view tweets by feanaro on Tuesday August 24, 2021 @03:16PM (#28293522)
I hope you did not just assume that general purpose computing and device ownership can be subverted by mere certificate pinning.

If it's executing on my device, you can be sure I can poke it and see what it's doing.

Re:Twitter starts to require login to view tweets by aabbcc1241 on Wednesday August 25, 2021 @09:53PM (#28309659)
Frontend is in the hand of enemy. There is no secret on the client side.
Re:Twitter starts to require login to view tweets by addandsubtract on Wednesday August 25, 2021 @05:47AM (#28299598)
You could proxy requests over a server you control. This might just shift your problem, depending on the use case.
Re:Twitter starts to require login to view tweets by Anunayj on Wednesday August 25, 2021 @05:18PM (#28307164)
Rate-limiting works really well in most cases, though CGNATs makes that a horror nowadays too.
Re:Twitter starts to require login to view tweets by xvector on Tuesday August 24, 2021 @01:56PM (#28292571)
I believe solutions like SafetyNet on Android might help here. AFAIK no one has successfully reversed SafetyNet enough to spoof it.
Re:Twitter starts to require login to view tweets by emptysongglass on Tuesday August 24, 2021 @06:04PM (#28295554)
Please don't legitimize SafetyNet. It is an existential threat to real ownership of your phone as any flavor of Android but that blessed by Google trips SafetyNet. It's the equivalent of barring people from running software on their laptop because they've installed a flavor of Windows that wasn't shipped from the factory. People everywhere have a right to do with their phone what they want to.
Re:Twitter starts to require login to view tweets by xvector on Thursday August 26, 2021 @04:03AM (#28311910)
I agree with all your points, but what's the reasonable alternative? There is a reason that apps have decided to go with SafetyNet as a requirement. It dramatically reduces abuse.
Re:Twitter starts to require login to view tweets by arsome on Tuesday August 24, 2021 @02:03PM (#28292651)
Unless an API you're looking at requires/supports attestation via SafetyNet or you're willing to proxy via your own server this is likely not an option.

Additionally, while it's true (to my knowledge) that re-implementing a full safteynet spoof is not currently publicly available, a combination of Frida and MagiskHide is able to bypass SafetyNet for dynamic RE purposes, just launch the app as normal with MagiskHide enabled then attach to it with Frida as root. If they enforce full hardware attestation this may change in the future, but right now we're good.

Re:Twitter starts to require login to view tweets by alanhaha on Wednesday August 25, 2021 @03:23AM (#28298888)
But as a developer, I won't put the API key in the client.
Re:Twitter starts to require login to view tweets by OrangeMusic on Friday August 27, 2021 @05:14AM (#28325722)
How will the client communicate with the API then?
Re:Twitter starts to require login to view tweets by Macha on Tuesday August 24, 2021 @12:10PM (#28290744)
And this is likely because there were a few years of "insert your own API key" third party clients after Twitter limited their max user count.

This from the site that used to indicate on every tweet the client used

Re:Twitter starts to require login to view tweets by Kye on Tuesday August 24, 2021 @12:02PM (#28290624)
Quora ended for me when spun/copy+pasted Google results started to replace answers. For example: I asked for the science behind the EPA's recommendations on UV exposure, and the answers were all word-for-word copies of the first result in Google, which had no detail on the science behind it. Just "avoid going out before x," "wear x SPF sunscreen," but nothing about the basis for the recommendations.

That was years ago. Recently, I went looking for how to un-retweet something from an account that has since blocked me, and every single answer on every instance of someone asking that on Quora is more or less a copy of Twitter's documentation for an ordinary un-retweet. Useless search result pollution.

Re:Twitter starts to require login to view tweets by foogazi on Tuesday August 24, 2021 @10:50AM (#28289587)
Quora is such a shit show though - what happened there ?

Their algo will just continually blast email you every category you ever clicked on

Re:Twitter starts to require login to view tweets by alpaca128 on Tuesday August 24, 2021 @12:57PM (#28291584)
No idea. I used it a while and enjoyed the content, then they changed something in the algorithm and I'd suddenly get basically the same content every single day, often >30% of the feed would be the exact same as the week before. They also removed the list of topics, so there was no obvious way to escape the near static feed.

Not sure what they wanted to achieve with that change, but I never visited the site again.

Re:Twitter starts to require login to view tweets by city41 on Tuesday August 24, 2021 @02:57PM (#28293281)
It's a real shame. I used to really enjoy my daily Quora digest email. One of the only automated emails I truly dug into and read in detail. Over time I read it less and less. Then switched it to be weekly, then turned it off. I miss the old Quora.
Re:Twitter starts to require login to view tweets by garciasn on Tuesday August 24, 2021 @11:21AM (#28290034)
It's because they need to start collecting more first-party data from users who land on their site. This is a result of Apple (and others in the future) blocking third-party cookie tracking.

They are doing this SOLELY because of the need for audience creation, marketing attribution, and ad revenue.

Re:Twitter starts to require login to view tweets by kevin_thibedeau on Tuesday August 24, 2021 @02:28PM (#28292937)
Broadcast radio, television, and print newspapers still exist without these things.
Re:Twitter starts to require login to view tweets by garciasn on Tuesday August 24, 2021 @02:36PM (#28293027)
They sure do; however, digital media and social in particular, absolutely rely on significant investment in their audiences, attribution, etc in order to drive more revenue and thus higher CPMs. More traditional media (such as OOH, Print, etc) all rely on very high-level metrics such as daily traffic volumes and lack of direct impact evidence in their attribution of value.

This is why Facebook is SO very against what Apple is doing with iOS14+, particularly with cross-device and cross-app tracking opt-in, because they know it will decimate their ability to do what they do today.

Re:Twitter starts to require login to view tweets by shostack on Tuesday August 24, 2021 @10:44PM (#28297502)
Bingo. They need this for user-level measurement and targeting. Wouldn't be surprised if this also supports part of their audience extension work with twitter audience platform as well.
Re:Twitter starts to require login to view tweets by _-david-_ on Tuesday August 24, 2021 @09:26PM (#28297108)
With Quora you can just add ?share=1 at the end of the url and you can view the content without logging in.
Re:Twitter starts to require login to view tweets by leros on Tuesday August 24, 2021 @11:02AM (#28289741)
I could imagine they're trying to prioritize things like user retention and ad revenue, both of which can be done better by tracking user behavior. Losing a percentage of their logged out user base could very well be worth it to them in order to increase what helps their business.
Re:Twitter starts to require login to view tweets by nerdwords on Monday August 30, 2021 @07:26AM (#28354548)
Quora's not a great resource anymore. It's just peoples' opinions boosted by an echo chamber.

This is probably the only good content that existed on there before it became a cesspool: http://qsf.cf.quoracdn.net/best_of_quora_2010-2012.pdf

Re:Twitter starts to require login to view tweets by imhoguy on Tuesday August 24, 2021 @01:41PM (#28292342)
Opening Quora links in a new private tab each time solves the issue for me. But agreed, it sucks.
Re:Twitter starts to require login to view tweets by hammock on Tuesday August 24, 2021 @12:59PM (#28291616)
This is not about measurement. This is about tracking people across third-party websites.
Re:Twitter starts to require login to view tweets by ezconnect on Tuesday August 24, 2021 @01:09PM (#28291810)
This is about growing users, they are stagnant now and had been for a while just like facebook.