The Group to Support Islam and Muslims bragged about killing Westerners and attacking "a site of debauchery"
Some of the groups were involved in the 2012 northern Mali uprising.
Militants have killed 68 U.N. peacekeepers in Mali in the past three years, but the blue helmets aren't giving up yet.
Other African leaders have also condemned the attacks, which killed at least 30 people.
French troops are stationed across West Africa and have fought Al-Qaeda in northern Mali.
People from at least six countries died in the assault on Grand Bassam beach resort.
Abu al-Nur al-Andalusi had previously encouraged Spanish Muslims to "join the jihad."
President Erdogan is conducting a tour of West Africa to boost trade links.
At least 28 people were killed when Al-Qaeda-linked militants attacked a hotel in Burkina Faso's capital on Friday.
Three militant groups claimed responsibility for the November 20 incident, in which a number of foreign tourists were killed by gunmen at the Radisson Blu hotel in Mali's capital Bamako
The attack on the luxury hotel in Mali's capital killed 20 people.
The pope said that religion "must never be used to justify hatred and violence."
The claims of the relatively new militant group are considered to be the most credible