get post's id from url. testing for user's and group's wall