I know the meaning of "pop bottles all night" - drink all night long.
My question is - is this valid term, or slang invented by the person who wrote the song?
In this case pop means to
So, pop bottles all night means open bottles all night.
It is not slang, though it is a metaphor (assuming you are correct that the author actually meant drink all night).