public function createPOSTLike(LikeObject $likeObject) { $this->request = new OutgoingRequest(); $this->request->setServer($this->getDomainFromProfileLocation($this->targetSocialRecord->getProfileLocation())); $this->request->setPath($this->getPathFromProfileLocation($this->targetSocialRecord->getProfileLocation()) . $this->targetSocialRecord->getGlobalID() . '/' . self::RESOURCE_NAME_LIKE); $this->request->setRequestMethod('POST'); $this->request->setRequestBody($likeObject->getJSONString()); return $this; }