Fixed URLs in getRecentActivity
Added postType to recent activity object