Twitter said on Tuesday it may have shared user data with advertisers without permission.

The social media giant said it found issues "where your settings choices may not have worked as intended."

Read more: Amazon Alexa voice recordings sent into Polish homes

The company said "certain data" of mobile users such as country code may have been shared with advertising partners since May 2018 "even if you didn't give us permission to do so."

Twitter also said since September 2018 it may have shown ads "based on inferences" made about users' devices, without consent.

Read more: When smart devices pass secrets to the police

A statement on the company's website insisted the data in question "stayed within Twitter and did not contain passwords or email accounts."

The issues were "fixed on August 5" and Twitter says it is conducting an investigation into who may have been impacted.

Watch video 12:36 Share SHIFT – Living in the Digital Age! Send Facebook google+ Whatsapp Tumblr linkedin stumble Digg reddit Newsvine Permalink https://p.dw.com/p/3JaEm SHIFT – Living in the Digital Age!

Each evening at 1830 UTC, DW's editors send out a selection of the day's hard news and quality feature journalism. You can sign up to receive it directly here.