login($credentials->getLogin(), $credentials->getPassword()); // we need instagram user id $profile = $api->getProfile('starwars'); sleep(1); $feedStories = $api->getStories($profile->getId()); if (count($feedStories->getStories())) { /** @var \Instagram\Model\StoryMedia $story */ foreach ($feedStories->getStories() as $story) { echo 'ID : ' . $story->getId() . "\n"; echo 'Type : ' . $story->getTypeName() . "\n"; echo 'Picture : ' . $story->getDisplayUrl() . "\n"; echo 'Date : ' . $story->getTakenAtDate()->format('Y-m-d h:i:s') . "\n\n"; } } else { echo 'No stories' . "\n"; } } catch (InstagramException $e) { print_r($e->getMessage()); } catch (CacheException $e) { print_r($e->getMessage()); }