Get social media from database