Inheritance: extends AuthenticatedBaseRequest
 /**
  *
  * Change Profile Picture
  *
  * @param string $path File path of Profile Picture to Upload
  * @return API\Response\ChangeProfilePictureAccountResponse
  * @throws Exception
  */
 public function changeProfilePicture($path)
 {
     if (!$this->isLoggedIn()) {
         throw new InstagramException("You must be logged in to call changeProfilePicture().");
     }
     $request = new ChangeProfilePictureAccountRequest($this, $path);
     $response = $request->execute();
     if (!$response->isOk()) {
         throw new InstagramException(sprintf("Failed to changeProfilePicture: [%s] %s", $response->getStatus(), $response->getMessage()));
     }
     return $response;
 }
 /**
  *
  * Change Profile Picture
  *
  * @param string $path File path of Profile Picture to Upload
  * @return API\Response\ChangeProfilePictureAccountResponse
  * @throws Exception
  */
 public function changeProfilePicture($path)
 {
     if (!$this->isLoggedIn()) {
         throw new InstagramException("You must be logged in to call changeProfilePicture().");
     }
     $request = new ChangeProfilePictureAccountRequest($this, $path);
     $response = $request->execute();
     return $response;
 }