Twitter reveals code showing why tweets pop-up

Elon Musk, the owner of Twitter, has vowed more after the company released the source code for its recommendation algorithm.

Twitter released portions of its source code, including the algorithm for making suggestions.

On the code-sharing website GitHub, the social media firm posted the code in two repositories.

Elon Musk, the owner of Twitter, announced the change on Saturday and promised to release more code in the coming weeks.

Musk stated on Twitter that “in the upcoming weeks, we will open source practically everything that contributes to showing a tweet.”

The recommendations algorithm source code explains why tweets appear on a user’s “For you” timeline.

Making it public addresses common concerns among users and lawmakers, who increasingly scrutinize social media platforms over how algorithms select the content users see.

“Providing code transparency will be incredibly embarrassing at first, but it should lead to rapid improvement in recommendation quality,” Musk wrote on Twitter.

He said the company would regularly update the algorithm based on user feedback.

Some users questioned why Twitter’s source code appeared to categorize users as Republicans or Democrats during a conversation about the source code on Spaces, Twitter’s audio chat feature.

Musk said the business would get rid of it because it shouldn’t happen.

This article has been posted by a News Hour Correspondent. For queries, please contact through [email protected]
No Comments