Inheritance: extends AuthenticatedBaseRequest
 /**
  *
  * Get GeoMedia from Map of User
  *
  * @param string|API\Response\Model\User $userId User or User Id to get GeoMedia of
  * @return API\Response\UserMapResponse
  * @throws Exception
  */
 public function getUserMap($userId)
 {
     if (!$this->isLoggedIn()) {
         throw new InstagramException("You must be logged in to call getUserMap().");
     }
     if ($userId instanceof User) {
         $userId = $userId->getPk();
     }
     $request = new UserMapRequest($this, $userId);
     $response = $request->execute();
     if (!$response->isOk()) {
         throw new InstagramException(sprintf("Failed to getUserMap: [%s] %s", $response->getStatus(), $response->getMessage()));
     }
     return $response;
 }
 /**
  *
  * Get GeoMedia from Map of User
  *
  * @param string|API\Response\Model\User $userId User or User Id to get GeoMedia of
  * @return API\Response\UserMapResponse
  * @throws Exception
  */
 public function getUserMap($userId)
 {
     if (!$this->isLoggedIn()) {
         throw new InstagramException("You must be logged in to call getUserMap().");
     }
     if ($userId instanceof User) {
         $userId = $userId->getPk();
     }
     $request = new UserMapRequest($this, $userId);
     $response = $request->execute();
     return $response;
 }