Wrong meaning: saying something to make your story more interesting or impressive.
- I literally died laughing when I saw him.
Here the word that should be used is figuratively.
- I died laughing when I saw him. Figuratively speaking that is.
Correct meaning: saying something that actually happened.
- There are literally thousands of people using our products.