Categories: TechnologyWorld

Twitter makes some of its source code public, promises more

 Twitter on Friday made public parts of the computer code that decides how the social media site recommends content, with its owner Elon Musk adding that the entirety of the code will be available in the next few weeks.

The announcement will allow users and programmers a peek into its workings and the ability to suggest modifications to the algorithm.

“In the coming weeks, we will open source literally everything that contributes to showing a tweet,” Musk said in a tweet on Saturday.

The company said in a blog post it had uploaded the code in two repositories on code-sharing platform Github. They include the source code for many parts of Twitter, including the recommendations algorithm which controls the tweets that users see on their timeline.

The move comes at the behest of Musk, its billionaire owner, who has said code transparency would lead to higher trust among users and rapid improvements to the product.

It also serves to address common concerns among users and lawmakers, who are increasingly scrutinizing social media platforms over how algorithms select the content that users see.

Musk tweeted on Friday that third parties should be able to analyze the open-sourced code and “determine, with reasonable accuracy, what will probably be shown to users.”

“No doubt, many embarrassing issues will be discovered, but we will fix them fast!” he tweeted.

Musk also said Twitter will update its recommendation algorithm based on user suggestions every 24 to 48 hours.

On Friday, Musk and some Twitter employees held a session on Spaces, Twitter’s audio chat feature, asking users to bring recommendations and questions about how the platform’s code works.

One person questioned why Twitter’s code appeared to classify users as Republicans or Democrats. A Twitter employee responded that it was an old feature that was not important to the platform’s recommendation system, and the company was looking to remove it.

The repositories on Github do not include the code that powers Twitter’s ad recommendations, the company said.

It also said it excluded code that would compromise user safety or privacy, as well as details that would undermine efforts to prevent child sexual abuse material on the platform.

The news also comes after parts of Twitter’s source code were leaked on Github, which took down the code last week at Twitter’s request.

Twitter asked the U.S. District Court for the Northern District of California to order Github to produce “all identifying information” associated with the Github account that had posted the leaked code, according to a legal filing.

Source : Reuters

GLOBAL BUSINESS AND FINANCE MAGAZINE

Recent Posts

Sterling drops as inflation cements BoE cut expectations, dollar up before US inflation

British ‌consumer price inflation fell to 3.2% in November, its lowest since March, from 3.6%…

3 days ago

Dollar remains firm as markets await ECB, BoE rate announcements

The yen dipped 0.1% to 155.85, extending a 0.6% slide on Wednesday.  The dollar ‍inched…

3 days ago

Global M&A deals hit $4.8bn on strong tech and AI deals

Technology M&A, powered by AI-related deals, was in the vanguard of the year’s surge in…

3 days ago

Trade policy uncertainty and supply chain disruptions: Firm-level evidence from “Liberation Day”

The US announcement on 2 April 2025 of “Liberation Day” tariffs created an unexpected, precisely…

3 days ago

Refugee entrepreneurs as business multipliers: Evidence from Ukrainians in Poland

When Russia invaded Ukraine in 2022, over a million Ukrainian refugees fled to Poland. This…

3 days ago

Rerouted, not reduced: How withholding taxes shape global services trade

Global services trade is expanding rapidly, but its intangible nature makes it a prime channel…

3 days ago