twitter-monitor icon indicating copy to clipboard operation
twitter-monitor copied to clipboard

Impact of recent Twitter updates

Open BANKA2017 opened this issue 1 year ago • 11 comments

  • The bad one is now twitter rejects almost all anonymous requests.
  • The good one is that we support login and provide cookies.

BANKA2017 avatar Jun 30 '23 19:06 BANKA2017

 ❯ tests/backend.online.test.js (21) 35476ms
   ✓ Guest token 5529ms
   ✓ UserInfo (3) 1496ms
   ❯ Tweets (5) 5914ms
     ✓ Tweet 3831ms
     ✓ With replies 3775ms
     ✓ Status 4184ms
     ✓ List 5913ms
     × Community 2616ms
   ✓ Search (2) 3317ms
   ✓ Album search (2) 3424ms
   ✓ Broadcast (1) 6030ms
   ✓ Audiospace (1) 4034ms
   ✓ Trends (might not supported in some region) (1) 1553ms
   ✓ Typeahead (1) 1300ms
   ✓ List (2) 1417ms
   ❯ Community (2) 1456ms
     × Info 1379ms
     ✓ Search 1455ms

Community information and timeline changed to require login (removed), other endpoints areavailable.

BANKA2017 avatar Jul 03 '23 02:07 BANKA2017

https://twitter.com/elonmusk/status/1675187969420828672

n0099 avatar Jul 03 '23 05:07 n0099

The Rate limit of the timeline endpoint is very low. It is recommended that crawler users reduce the frequency of crawling, or add more proxies.

'x-rate-limit-limit': '50'

BANKA2017 avatar Jul 05 '23 08:07 BANKA2017

https://github.com/BANKA2017/twitter-monitor-assets/commit/6e7ab33e4b76e0d80b4e3f383f109dfd67ead7a1

BANKA2017 avatar Aug 15 '23 07:08 BANKA2017

匿名请求已无法使用关键词搜索

bestRunner avatar Aug 16 '23 09:08 bestRunner

I need a little more time to fix it, before that, you can refer to https://github.com/zedeus/nitter/issues/983#issuecomment-1681199357 to obtain guest accounts and then create a new object:

{
    "authorization": "Bearer AAAAAAAAAAAAAAAAAAAAAFXzAwAAAAAAMHCxpeSDG1gLNLghVe8d74hl6k4%3DRUMF4xAQLsbeBhTSRrCiQpJtxoGWeyHrDb5te2jpGskWDFW82F",
    "oauth_token": "1680000071584518144-SVdJOzLojjUy00000T2Snv00000tnR",
    "oauth_token_secret": "OFYvbr00000IIzkHgytbNBfPbwp00000ynF5600000zUa"
}

and finally modify the code:

- ANY_VARIABLE = new GuestToken() // ANY_VARIABLE refers to a type of variables, they have many names
+ ANY_VARIABLE = new GuestToken('android')

- await ANY_VARIABLE.updateGuestToken(4) // May be any number from 0 to 4
+ await ANY_VARIABLE.openAccountInit({
+     "authorization": "Bearer AAAAAAAAAAAAAAAAAAAAAFXzAwAAAAAAMHCxpeSDG1gLNLghVe8d74hl6k4%3DRUMF4xAQLsbeBhTSRrCiQpJtxoGWeyHrDb5te2jpGskWDFW82F",
+     "oauth_token": "1680000071584518144-SVdJOzLojjUy00000T2Snv00000tnR",
+     "oauth_token_secret": "OFYvbr00000IIzkHgytbNBfPbwp00000ynF5600000zUa"
+ })

BANKA2017 avatar Aug 18 '23 11:08 BANKA2017

~Now I can no longer get any new guest accounts.~

BANKA2017 avatar Aug 19 '23 09:08 BANKA2017

It seems that Twitter restored the timeline order of Enterprise Certified (Gold Marked) accounts under anonymous access. image

BANKA2017 avatar Dec 11 '23 16:12 BANKA2017

It seems that Twitter restored the timeline order of Enterprise Certified (Gold Marked) accounts under anonymous access. image

应该并不是所有的主页都可以完全显示,例如:https://twitter.com/iPaulCanada,在登陆和无痕模式访问状态下,无痕模式依旧无法显示最新的内容

bestRunner avatar Dec 12 '23 01:12 bestRunner

https://twitter.com/iPaulCanada,在登陆和无痕模式访问状态下,无痕模式依旧无法显示最新的内容

only for gold marked accounts @bestRunner

BANKA2017 avatar Dec 12 '23 03:12 BANKA2017

The core of Open-Twitter-Monitor will stop updating until a common solution other than guest account authentication is found.

Other parts, such as webpush, media downloader(except audio space), rate limit checker, etc. are not affected.

BANKA2017 avatar Jan 28 '24 08:01 BANKA2017