Early Wednesday morning, several high-profile Twitter accounts were compromised, displaying messages featuring swastikas.

BBC North America, Atlanta Police, Amnesty International and the European Parliament were among the Twitter accounts impacted by the hack.

According to a tweet from Twitter support, the company identified an issue caused by a third-party app affecting some users, but wouldn't specify whether this was directly related to the hack.

Gizmodo reports the compromise may be connected to a third-party analytics app called Twitter Counter.

The hack is a good reminder to check your Twitter account and determine which third-party apps have access. To do this from a web browser, click on your profile picture in the top right corner, and go to "Settings and Privacy."

Scroll down along the left navigation menu until you get to Apps. Clicking on that will show you what apps have access to your Twitter feed. Now's a good time to start cleaning up.

If you see an app you haven't used for a while or just aren't comfortable using any longer, you can revoke access. For example, my account still allowed access to TwitPic, which shut down in 2014. Oops.

Also, before you allow any service third-party access to your Twitter account, make sure to confirm it's legit. When in doubt, deny access.

Follow Brett Molina on Twitter: @brettmolina23.