In this way, the new tool acts sort of like Shazam, the mobile app that can tell you what song is playing on the radio.

Facebook said the unnamed feature will be available to U.S. users on Android and iOS devices "in the coming weeks."

Of course, the more information Facebook users share about themselves and their tastes, the more Facebook can target ads at its 1.2 billion users.

Here's how it works: If you've turned the feature on, you'll see an audio icon jiggling on your phone's screen as you write a status update. That means the feature is listening and trying to find a match; if it does, you can then add the song, TV show or movie to your post.

As with any Facebook post, you can choose which of your friends can see it. You can also turn the feature off at any time by clicking an audio icon at the top right of the screen.

Facebook said that if you choose to share a song, your friends can listen to a 30-second snippet. For TV shows, Facebook said your News Feed post will highlight the specific season and episode you're watching, "so you can avoid any spoilers and join in conversations with your friends after you've caught up."