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.