Twitter Makes Some of its Source Code Public

Twitter app logo is seen in this illustration taken, August 22, 2022. REUTERS/Dado Ruvic/Illustration/File Photo
Twitter app logo is seen in this illustration taken, August 22, 2022. REUTERS/Dado Ruvic/Illustration/File Photo
TT

Twitter Makes Some of its Source Code Public

Twitter app logo is seen in this illustration taken, August 22, 2022. REUTERS/Dado Ruvic/Illustration/File Photo
Twitter app logo is seen in this illustration taken, August 22, 2022. REUTERS/Dado Ruvic/Illustration/File Photo

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.

According to Reuters, 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 US 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.



US Supreme Court Tosses Case Involving Securities Fraud Suit against Facebook

A 3D-printed Facebook logo is seen in front of a displayed stock graph. (Reuters)
A 3D-printed Facebook logo is seen in front of a displayed stock graph. (Reuters)
TT

US Supreme Court Tosses Case Involving Securities Fraud Suit against Facebook

A 3D-printed Facebook logo is seen in front of a displayed stock graph. (Reuters)
A 3D-printed Facebook logo is seen in front of a displayed stock graph. (Reuters)

The US Supreme Court sidestepped on Friday a decision on whether to allow shareholders to proceed with a securities fraud lawsuit accusing Meta's Facebook of misleading investors about the misuse of the social media platform's user data.
The justices, who heard arguments in the case on Nov. 6, dismissed Facebook's appeal of a lower court's ruling that had allowed a 2018 class action led by Amalgamated Bank to proceed. The Supreme Court opted not resolve the underlying legal dispute, determining that the case should not have been taken up. Its action leaves the lower court's decision in place, Reuters reported. 
The court's dismissal came in a one-line order that provided no explanation. The Facebook dispute was one of two cases to come before the Supreme Court this month involving the right of private litigants to hold companies to account for alleged securities fraud. The other one, involving the artificial intelligence chipmaker Nvidia, was argued on Nov. 13. The Supreme Court has not ruled yet in the Nvidia case.
The plaintiffs in the Facebook case claimed the company unlawfully withheld information from investors about a 2015 data breach involving British political consulting firm Cambridge Analytica that affected more than 30 million Facebook users. They accused Facebook of misleading investors in violation of the Securities Exchange Act, a 1934 federal law that requires publicly traded companies to disclose their business risks. Facebook's stock fell following 2018 media reports that Cambridge Analytica had used improperly harvested Facebook user data in connection with Donald Trump's successful US presidential campaign in 2016. The investors have sought unspecified monetary damages in part to recoup the lost value of the Facebook stock they held.
At issue was whether Facebook broke the law when it failed to detail the prior data breach in subsequent business-risk disclosures, and instead portrayed the risk of such incidents as purely hypothetical.
Facebook argued that it was not required to reveal that its warned-of risk had already materialized because "a reasonable investor" would understand risk disclosures to be forward-looking statements. President Joe Biden's administration supported the shareholders in the case.
US District Judge Edward Davila dismissed the lawsuit but the San Francisco-based 9th US Circuit Court of Appeals revived it.
The Cambridge Analytica data breach prompted US government investigations into Facebook's privacy practices, various lawsuits and a US congressional hearing. The US Securities and Exchange Commission in 2019 brought an enforcement action against Facebook over the matter, which the company settled for $100 million. Facebook paid a separate $5 billion penalty to the US Federal Trade Commission over the issue.
The Supreme Court in prior rulings has limited the authority of the Securities and Exchange Commission, the federal agency that polices securities fraud.