मुख्य सामग्री पर जाएं
GET
Instagram Audio Metadata प्राप्त करें
किसी एक audio track का विवरण उसकी audioId से पुनर्प्राप्त करें। इसका उपयोग यह पुष्टि करने के लिए करें कि कोई stored id अभी भी वैध है, या publish करने से पहले track का शीर्षक और artwork दिखाने के लिए।
Requires Instagram linked through Facebook Login. Instagram's Audio API is only available to accounts connected via Facebook Login, which needs a Facebook Page connected to the Instagram account. Accounts connected with Instagram Login (the Ayrshare default) cannot search, look up, or attach audio, and every audio request returns code: 514.

This is a Meta restriction, not an Ayrshare one. Meta's documentation states the Audio API "is only available on the Instagram API with Facebook Login. It is not supported on the Instagram API with Instagram Login." No permission or plan upgrade changes it.

Three things are required:
1. An Instagram Business or Creator account
2. A Facebook Page connected to that Instagram account
3. Instagram linked to Ayrshare with Instagram Login disabled, so the Facebook Login flow is used

See the step-by-step setup guide.

Header Parameters

Path Parameters

string
आवश्यक
Track id, जैसा audio खोज द्वारा लौटाया गया। ऐसी id जिसे Instagram नहीं पहचानता, code: 517 लौटाती है।

Response Fields

Track की फ़ील्ड nested होने के बजाय प्रतिक्रिया object पर flat लौटाई जाती हैं। Instagram हर track के लिए हर फ़ील्ड नहीं लौटाता, इसलिए audioId को छोड़कर सभी फ़ील्ड को वैकल्पिक मानें।
string
success जब track मिल गया।
string
Track id, वापस echo की गई।
string
Track का शीर्षक।
string
Artist का नाम, जैसा Instagram दिखाता है।
integer
मिलीसेकंड में track की लंबाई।
string
Cover artwork thumbnail URL।
string
या तो music या original_sound।
boolean
क्या track किसी ad में उपयोग किया जा सकता है।
उपलब्धता क्षेत्र-निर्भर है। ऐसी id जो मौजूद नहीं है, ऐसी id जो खाते के क्षेत्र में लाइसेंस-प्राप्त नहीं है, और ऐसी id जो इस उपयोग के लिए लाइसेंस-प्राप्त नहीं है — तीनों के लिए Meta एक ही त्रुटि लौटाता है। तीनों 517 रिपोर्ट करते हैं, इसलिए जो track एक खाते के लिए resolve होता है वह दूसरे के लिए वैध रूप से विफल हो सकता है। यह मानने के बजाय कि stored id अभी भी काम करती है, id को लुकअप करें।

त्रुटियाँ

Code 514 से 518 का वर्णन Instagram Reels audio त्रुटियों में किया गया है; बाकी Ayrshare त्रुटि संदर्भ में हैं।

अगले चरण

एक track खोजें

Track को Reel में अटैच करें