API හරහා TikTok අනුගාමික ගණන සහ profile තොරතුරු
TikTok API for Business එකෙන් account එකක අනුගාමික ගණන GET /business/get/ වෙතින් followers_count ලෙස ලැබේ. ඒ වගේම username, display_name, profile_image, bio_description, is_verified, following_count, total_likes සහ videos_count ලැබේ. මේ සෑම එකකටම user.info.stats වැනි scope එකක් අවශ්යයි. Display API හි /v2/user/info/ එකෙන්, app එක authorize කළ user කෙනෙකුට එම ගණන follower_count ලෙස ලැබේ.
easyCoexistence, Claude, ChatGPT හෝ ඔබේම කේතයෙන්, get_social_insights සමග TikTok account එකක profile සහ අනුගාමික ගණන කියවයි: followers_count, total_likes හෝ videos_count වැනි fields නම් කරන්න, දිනපතා පේළි සඳහා දිනත් සමග, එවිට එය TikTok හි අගයන් එලෙසම ලබා දෙයි.
/business/get/ හි ඉහළින් followers_count, following_count, total_likes සහ videos_count සඳහා අවශ්ය scope.
TikTok followers_count සහ profile fields යාවත්කාලීන කරන ආකාරය, දිනපතා metrics සාමාන්යයෙන් පැය 24 සිට 48 ක් පසුව පැමිණේ.
/v2/user/info/ හි Display API එකේ නම, user.info.stats scope එක යටතේ.
/business/get/ හි දිනපතා followers_count සහ අනෙක් දිනපතා metrics සඳහා දිගුම look-back කාලය.
fields නම් නොකර request කළ විට /business/get/ ලබා දෙන්නේ display_name සහ profile_image පමණයි.
/business/get/ කුමන profile fields ලබා දෙන්නද?
fields හි නම් කළ ඒවා, query string එකේ JSON array එකක් ලෙස, ඒ සෑම එකක්ම account owner app එක authorize කරද්දී දුන් scope එකකින් අගුළු ඇරේ. fields නම් නොකර request කළ විට display_name සහ profile_image පමණක් ලැබේ. පහත profile සහ count fields TikTok real time යාවත්කාලීන කරයි:
අනුගාමික ගණන ඉල්ලන්නේ කෙසේද?
GET /business/get/ වෙත, Access-Token header එකේ account එකේ token එක සහ token exchange එකෙන් ලැබෙන open_id වන business_id, ඔබට අවශ්ය fields සමග. දැනට ගණන් data හි ඉහළ කොටසේ ඇත, සෑම දිනකම අගයන් metrics හි:
curl -G 'https://business-api.tiktok.com/open_api/v1.3/business/get/' \
-H 'Access-Token: <ACCESS_TOKEN>' \
--data-urlencode 'business_id=<OPEN_ID>' \
--data-urlencode 'fields=["display_name","followers_count","following_count","is_verified","daily_new_followers","daily_lost_followers"]'
{
"code": 0,
"message": "OK",
"request_id": "<REQUEST_ID>",
"data": {
"display_name": "<DISPLAY_NAME>",
"followers_count": 13,
"following_count": 2,
"is_verified": false,
"metrics": [
{ "date": "<DATE>", "followers_count": 13, "daily_new_followers": 0, "daily_lost_followers": 0 }
]
}
}දිනපතා අනුගාමිකයින් ලුහුබඳින්නේ කෙසේද?
fields හි followers_count නම් කළ විට TikTok එය දෙවරක් ලබා දෙයි: data හි ඉහළ කොටසේ user.info.stats යටතේ ජීවිත කාලීන මුළු එකතුව, සහ metrics තුළ එක් එක් දිනය සඳහා user.insights යටතේ එම දින එකතුව. start_date සහ end_date, UTC වේලාවෙන්, දින තෝරයි, දින 60 දක්වා පසුපසට; ඒවා නොමැති නම් TikTok ඉල්ලීම සිදුවීමට පෙර දිනය දක්වා අවසන් දින 7 ලබා දෙයි. මුළු එකතුව පිටුපස ඇති චලනය පෙන්වන දිනපතා fields තුනක් Advanced Access හෝ Verified Business Account සඳහා ඇත:
daily_new_followers: එදින ලැබුණු අනුගාමිකයින්.daily_lost_followers: එදින නැතිවූ අනුගාමිකයින්.daily_total_followers: එදිනේ ශුද්ධ වර්ධනය, ලැබීම් අඩු නැතිවීම්.
Display API එක ලබා දෙන්නේ කුමක්ද?
TikTok for Developers app එකක් authorize කළ user කෙනෙකුට එම ආකාරයේම profile, GET https://open.tiktokapis.com/v2/user/info/ වෙතින්, fields parameter හි ලැයිස්තුගත fields සමග. එහි නම් සහ scopes API for Business වලට වඩා වෙනස් වන අතර, එහි user object එකේ දිනපතා ඉතිහාසයක් නැත:
| API for Business: /business/get/ | Display API: /v2/user/info/ | |
|---|---|---|
| Followers | followers_count | follower_count |
| Following | following_count | following_count |
| Likes | total_likes | likes_count |
| Videos | videos_count | video_count |
| Count scope | user.info.stats | user.info.stats |
| Username scope | user.info.username | user.info.profile |
| Photo | profile_image | avatar_url, avatar_url_100, avatar_large_url |
| Daily history | Up to 60 days in metrics | Not in the user object |
වෙනත් account එකක අනුගාමික ගණන කියවිය හැකිද?
මේ endpoints දෙකෙන් නොහැක. /business/get/ පිළිතුරු දෙන්නේ app එක authorize කළ account එකේ business_id, /v2/user/info/ පිළිතුරු දෙන්නේ call එක කරන token එකේ user. TikTok හි Research API එකට /v2/research/user/info/ endpoint එකක් ඇත; එය username ගෙන follower_count, following_count, likes_count සහ video_count ලබා දෙයි, නමුත් TikTok අනුමත කළ researchers සඳහා පමණි.
easyCoexistence profile කියවන්නේ කෙසේද?
account එක මත get_social_insights සමග, object_id නොමැතිව: metrics හි නම් /business/get/ හි fields බවට පත්වේ, params හි start_date සහ end_date දින තෝරයි, ප්රතිඵලය TikTok දත්ත ලෙස එලෙසම එයි. හිස් metrics ලැයිස්තුවක් මගින් username, display name, ඡායාරූපය, follower, following, like සහ video ගණන්, account මට්ටමේ flags දෙක, සහ දිනපතා video views, profile views සහ නව අනුගාමිකයින් ඉල්ලයි. list_social_accounts මගින් account සම්බන්ධ කළ විට සුරැකුණු username සහ display name ද පෙන්වයි.
get_social_insights {
"account_id": "<ACCOUNT_ID>",
"metrics": ["followers_count", "following_count", "total_likes", "videos_count"],
"params": { "start_date": "2026-10-02", "end_date": "2026-10-31" }
}සාමාන්ය වැරදි
- user.info.stats නැති token එකකින් followers_count ඉල්ලීම. TikTok field එකක් ලබා දෙන්නේ owner එහි scope එක දුන් විට පමණි, එබැවින් owner app එක නැවත authorize කළ යුතුයි.
- profile_image පසුව සඳහා සුරැකීම. එය තාවකාලික URL එකක් වන අතර, එහි කල් ඉකුත්වීම x-expires parameter හි ඇත, එබැවින් අවශ්ය වන විට නව එකක් ලබා ගන්න.
- /business/get/ වෙතින් follower_count කියවීම. එය Display API හි නමයි; API for Business එය followers_count ලෙස හඳුන්වයි.
- පෞද්ගලික account එකක නව සහ නැතිවූ අනුගාමිකයින් බලාපොරොත්තු වීම. TikTok එම දිනපතා fields ලබා දෙන්නේ Advanced Access හෝ Verified Business Accounts සඳහා පමණි.
connection එකකට මාසිකව US$ 9 සිට US$ 0.75 දක්වා, connections එකතු කරන විට අඩු වේ, පළමු දින 3 නොමිලේ.
නිතර අසන ප්රශ්න
TikTok API මගින් කාලයත් සමග අනුගාමික වර්ධනය පෙන්විය හැකිද?
ඔව්, දින 60 දක්වා: metrics හි එක් එක් දිනය සඳහා followers_count, සහ Advanced Access හෝ Verified Business Accounts මත දිනපතා නව, නැතිවූ සහ ශුද්ධ අනුගාමිකයින්.
TikTok අනුගාමික ගණන සඳහා කුමන scope අවශ්යද?
user.info.stats, APIs දෙකටම: එය /business/get/ හි followers_count සහ Display API හි /v2/user/info/ හි follower_count අගුළු ඇරයි.
පෞද්ගලික TikTok account එකක් අනුගාමික ගණන ලබා දෙනවාද?
ඔව්. followers_count රඳා පවතින්නේ scope එක මත, account මට්ටම මත නොවේ; සමහර දිනපතා fields පමණක් Advanced Access හෝ Verified Business Account අවශ්ය කරයි.
TikTok අනුගාමික ගණන කොපමණ වාරයක් යාවත්කාලීන වේද?
ඉහළ මට්ටමේ followers_count real time ලෙස TikTok සලකුණු කරයි, metrics හි දිනපතා පේළි සාමාන්යයෙන් UTC වේලාවෙන් පැය 24 සිට 48 ක් පසුව පැමිණේ.
තවදුරටත් කියවන්න
ඔබේ පළමු channel එක මිනිත්තු දෙකකින් සම්බන්ධ කරන්න.
වේදිකා සමාලෝචන සඳහා බලා සිටීමට අවශ්ය නැත. WhatsApp, Instagram, TikTok හෝ වෙනත් channel එකක් සම්බන්ධ කර, පසුව ඔබේ AI හට පළ කිරීමට, ප්රතිචාර දැක්වීමට හෝ වාර්තා කිරීමට පවසා එය වැඩ කරන ආකාරය බලන්න.
- දින 3ක් නොමිලේ
- ඕනෑම වේලාවක අවලංගු කරන්න
- නිල API පමණි
- 24/7 නිරීක්ෂණය කෙරේ
සත්යාපනය කළේ