-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TwitterBridgeV2/TwitterBridge] Twitter no longer support free access to the Twitter API, starting February 9 #3239
Comments
I believe something just changed on the API side. Bridge is returning errors now.
|
Tweetdeck.twitter.com just uses 1.1 endpoints afaik so if it works past the 9th the endpoints it uses to get data could be used. headers:
cookies:
|
As far as I can tell, also the regular |
It's not February 9th yet, no matter what time-zone you're in, but this seems about par for the course for Twitter these days. Unless something changes on the Twitter side, this is probably the end of my involvement with the TwitterBridgeV2. There's no way I'm paying for Twitter API v2.0 access, and the Twitter API v1.1 isn't an option for me (even if free access continues somehow) because it dropped support for Sensitive Content tweets (hence my creation of the TwitterBridgeV2 in the first place). I guess now's a good time to look at Nitter RSS feeds. |
I just installed TwitterBridge last week. It worked great for a few days, then this morning around 6am PT I started seeing the following error when querying a timeline by username: Exception: Failed to make api call: /1.1/users/show.json\nHTTP Status: 401\nErrormessage: 401 Unauthorized in /var/www/html/rss-bridge/lib/error.php:24\nStack trace:\n#0 /var/www/html/rss-bridge/lib/error.php(42): returnError()\n#1 /var/www/html/rss-bridge/bridges/TwitterBridge.php(643): returnServerError()\n#2 /var/www/html/rss-bridge/bridges/TwitterBridge.php(219): TwitterBridge->makeApiCall()\n#3 /var/www/html/rss-bridge/actions/DisplayAction.php(134): TwitterBridge->collectData()\n#4 /var/www/html/rss-bridge/index.php(24): DisplayAction->execute()\n#5 {main} So far it does not seem intermittent but continuous. |
I've created a client that speaks to the api that is still publicly accessible. I've not taken a look at all the bridge configuration. Testers needed: https://rss-bridge.org/twitter_test/ |
That seems to work for now. Is this change available in the github repository? |
Yeah, looks like they deactivated the api call to get guest tokens for authentication. I'm currently lacking time do look into a way to circumvent this or to adjust the necessary calls inside rss-bridge. |
|
For those who haven't got an API key yet, it might be worth getting one on the off chance that free developer accounts are grandfathered in or at least have a grace period before payment is required. |
I have a free developer account, and it stopped working yesterday. I just checked the developer portal, it still shows my existing Project at the Essential Tier, with a listed Cost of "free", and 14,320 tweets pulled out of the 500k limit. But I get errors when I try to use the API with that developer account. |
Mine is still working, but I only pull user tweet timelines to convert to RSS (using rssbox). Using this as my coal mine canary. |
Same here, my Twitter API v2 token is still pulling in tweets, for now. |
I've been getting the same 401s for a few days, but now it just started working again, with no change made to the instance itself. The one thing that has changed on my end is that I got a new public IP from my ISP. |
I tested my instance and can confirm, that TwitterBridge is for the moment working again, without any changes. |
I'm not getting the 403 error, but now a 500 error and a truncated rss feed containing one item with the title "Bridge returned error 500! (19396)" and the text: "was unable to receive or process the remote website's content!" .... "Error message: My IP address has not change though. I'll try setting rss-bridge up so it queries through a VPN and see what that does. FYI/UPDATE: Updating my rss-bridge to the latest rather than the release fixed this. |
https://rss-bridge.org/twitter_test/ fixed the 403 errors. Notice that it runs the The code is here: https://github.com/dvikan/rss-bridge/tree/twitter-fix-1 |
TwitterBridgeV2 is back to working for me. My guess is someone (maybe Musk himself) flipped the "turn off API access" switch too early, and has flipped it back. We'll see what happens on the 9th and after. |
$100 per month for read & write API access: https://twitter.com/TwitterDev/status/1623467617037221889 Free access now to end on 13 February. |
They delayed it yet again: https://twitter.com/TwitterDev/status/1625234161010343941
No specific date this time. My version 1.1 API bridge is still running fine. |
For the |
I tried your twitter_test using a few of the handles I follow, and it's not showing any of their tweets from the last couple months, just stuff from Nov/Dec last year. However, I'm seeing the same behaviour on nitter, which makes me think it's an unofficial API issue, and not a problem with your implementation. |
This might be useful to somebody: https://pypi.org/project/twitter-api-client/ "Complete implementation of the undocumented Twitter API. Includes tools to scrape, automate, and search Twitter." No tokens needed, just a username and password. |
Twitter API v2 Free launched today, as expected it only offers write access. API v2 Basic is $100 per month. API v2 Essential is being deprecated over the next 30 days. |
The Twitter V1 Bridge now returns error 0 (see #3382). They must have changed the V1 API again. We should probably now switch to the unofficial api (used by Nitter). The implementation by @dvikan seems to work.
|
Curiously, API v2 Essential is still operational despite the deadline. Not available for new signups though. |
The twitter branch [0] now has the latest changes from upstream and is fixed [1]. The only thing that is working is fetching tweets by username. Because I gave up how to scrape those other things. It was a bit tiresome. I think maybe it's okay to merge it because it's better that atleast tweets by username is working rather than nothing. I shall get to work on it right now. [0] https://github.com/dvikan/rss-bridge/tree/twitter-fix-1 edit: pr which fixes only tweets by username: #3385 edit2: pr is merged to master |
Your fix does indeed seem to have fixed the name look up.
|
Hello everyone, Bridge returned error 0! (19488) #0 index.php(7): RssBridge->main() Query string: action=display&bridge=TwitterBridge&context=By username&u=elonmusk&format=Html Version: dev.2022-06-14 (git.master.1b45a53) Can someone tell me what is wrong or what I have to do to make it work? |
It seems your update procedure didn't fully go through. The git commit
1b45a53 is not the current master.
|
Like @Pepepy I have the same issue with version |
#3239 (comment) |
@Pimmetje on master latest commit? |
Thank you so much. Apparently my git pull didn't work correctly yesterday. I did a full install again on the master branch and it is running without problems. Thanks a lot |
Closing, the by-username functionality was restored in the master branch. |
@Mynacol would it be possible to release a new GitHub release with associated Docker images? |
Latest release |
@dvikan should do that. I joined as moderator just a week ago 😄 |
It seem Twitter killed my token and i can't use TwitterV2 ever since. When i go to the developer dashboard, my Essential plan is gone and replace it with Free plan with 1,000 tweet per month. Damn it suck. |
Same, my Essential v2 API account was disabled yesterday, Twitter finally flipped the off switch, 6 weeks after the date they originally set. |
As stated on Twitter Developer account,
Source: https://twitter.com/TwitterDev/status/1621027418680229888
The text was updated successfully, but these errors were encountered: