Social Media
Instagram User Tagged
List posts an Instagram user is tagged in, by username or user_id, with pagination, as JSON.
POST/api/v1/instagram/user/tagged
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonusernamestringInstagram username. Provide this or user_id.
Example: nasa
user_idstringNumeric user id. Provide this or username.
countnumberNumber of results per page.
cursorstringPagination cursor from a previous response.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.instagram.user_tagged(username="nasa")
print(results)Response
"num_results": 12,
"more_available": true,
"auto_load_more_enabled": false,
"next_max_id": "3689552553772093822",
"new_photos": [],
"requires_review": false,
"total_count": 181,
"status": "ok"
},
"response_time": 2768,
"credits_used": 2,
"credits_remaining": 4732
}