Some of Twitter's source code is available to the public.

Twitter made portions of the computer code that determines how the social media platform promotes material available to the public. This gave users and programmers access to the algorithm's inner workings and the chance to suggest changes.

In a blog post, the business claimed that it had posted the code to two repositories on the code-sharing website Github. The recommendations algorithm, which determines which tweets users see on their timeline, is one of the numerous components of Twitter whose source code is included in these files.


Elon Musk, the company's billionaire owner, requested the action and has previously stated that code transparency will increase consumer confidence and speed up product advancements.


Also, it helps to allay widespread worries raised by users and legislators who are increasingly questioning social media platforms about how algorithms choose the information that people see.


On Friday, Musk tweeted that other parties need to be allowed to examine the open-sourced code and "predict, with reasonable accuracy, what will probably be shown to users."


He tweeted, "There will undoubtedly be many humiliating issues found, but we will quickly remedy them.


Additionally, Musk stated that every 24 to 48 hours, Twitter will alter its recommendation system based on user ideas.



Musk and a few Twitter staff members held a session on Spaces, Twitter's audio chat function, on Friday. Musk invited users to offer suggestions and queries about the platform's coding.


One guy questioned the logic behind Twitter's programming that seemed to categorize users as Democrats or Republicans. An employee of Twitter replied that the function was outdated and not necessary for the platform's recommendation engine and that the business was seeking to do rid of it.


The company claimed that the code underlying Twitter's ad recommendations is not present in the repositories on Github.


Also, it stated that it had omitted any code that may jeopardize user security or privacy or impede attempts to stop child sexual abuse content from appearing on the site.


The revelation also comes after portions of Twitter's source code were exposed on Github; last week, Twitter asked Github to remove the code.


According to a legal document, Twitter requested that the U.S. District Court for the Northern District of California force Github to turn over "any identifying information" connected to the Github account that had posted the hacked code.


Category and Tags
More stories by
Baidu is introducing new technology, AI will extract money from pet sounds

The beloved dog is suddenly barking. Many people try to understand why it is barking. However, the long-standing curiosity of understanding the mind of animals through sounds can now become a reality with the help of...

Do you know what percentage of Microsoft's code is written with AI?

A significant portion of Microsoft's code is now being written using artificial intelligence (AI), said Satya Nadella, the company's chief executive officer (CEO). At the recent 'LamaCon' AI developer conference held in Menlo Park, California, USA, S

Bangladesh's economy rises to the 2nd largest in South Asia and the 9th largest in Asia.

With a GDP of USD 450.05 billion in 2024, Bangladesh's economy has grown to become the second largest in South Asia and the ninth largest in Asia, according to the Asian Development Bank's Basic Statistics 2025 series. With statistics from 46 econom

Elon Musk's Neuralink will implant blindsight devices in the human brain

                  photo: ReutersNeuralink, owned by Elon Musk, has developed a device suitable for implantation in the human brain to restore vision to the visually impair...

India exports rockets and explosives to Israel aimed at the Gaza genocide

India's export of military equipment to Israel amid the ongoing conflict in Gaza has sparked significant controversy and debate. Critics argue that these exports may implicate India in potential violations of interna...

Follow Business Habit on Facebook, Twitter