AP appoints a social media editor