Get Stories
Retrieve highlight(s) stories by highlight id(s).
You can retrieve up to 4 highlight ids per request.
Params
Name | Type | Default | Description |
---|---|---|---|
ids (required) | list | – | Highlight id(s) |
Usage
- Python
- PHP
- cURL
from rocketapi import InstagramAPI
instagram_api = InstagramAPI(token="your-api-key")
print(instagram_api.get_highlight_stories(17902417075637532))
<?php
require('vendor/autoload.php');
use RocketAPI\InstagramAPI;
$api = new InstagramAPI('your-api-key');
print_r($api->getHighlightStories(17902417075637532));
curl --request POST \
--url https://v1.rocketapi.io/instagram/highlight/get_stories \
--header 'Content-Type: application/json' \
--header 'Authorization: Token your-api-key' \
--data '{
"ids": [ 17902417075637532 ]
}'
Response example
Loading...