主題標籤搜尋- Instagram 開放平台- 文件 - Meta for Developers

文章推薦指數: 80 %
投票人數:10人

Instagram 主題標籤搜尋使用方式. ... 不支援限時動態上的主題標籤。

... GET /{ig-hashtag-id}/top_media — 用於取得有特定主題標籤的最熱門相片和影片. Instagram開放平台Instagram圖形APIInstagram基本顯示API分享到動態消息分享到限時動態oEmbedoEmbed(舊式)內嵌按鈕返回中文(台灣)這份文件已更新。

中文(台灣)的翻譯尚未完成。

英文更新時間:9月16日中文(台灣)更新時間:2021年6月18日HashtagSearch FindpublicIGMediathathasbeentaggedwithspecifichashtags. Limitations Youcanqueryamaximumof30uniquehashtagsonbehalfofanInstagramBusinessorCreatorAccountwithinarolling,7dayperiod.Onceyouqueryahashtag,itwillcountagainstthislimitfor7days.Subsequentqueriesonthesamehashtagwithinthistimeframewillnotcountagainstyourlimit,andwillnotresetitsinitialquery7daytimer. Personallyidentifiableinformationwillnotbeincludedinresponses. YoucannotcommentonhashtaggedmediaobjectsdiscoveredthroughtheAPI. HashtagsonStoriesarenotsupported. Emojisinhashtagqueriesarenotsupported. TheAPIwillreturnagenericerrorforanyrequeststhatincludehashtagsthatwehavedeemedsensitiveoroffensive. Requirements InordertousethisAPI,youmustundergoAppReviewandrequestapprovalfor: theInstagramPublicContentAccessfeature theinstagram_basicpermission Endpoints TheHashtagSearchAPIconsistsofthefollowingnodesandedges: GET/ig_hashtag_search—togetaspecifichashtag'snodeID GET/{ig-hashtag-id}—togetdataaboutahashtag GET/{ig-hashtag-id}/top_media—togetthemostpopularphotosandvideosthathaveaspecifichashtag GET/{ig-hashtag-id}/recent_media—togetthemostrecentlypublishedphotosandvideosthathaveaspecifichashtag GET/{ig-user-id}/recently_searched_hashtags—todeterminetheuniquehashtagsanInstagramBusinessorCreatorAccounthassearchedforinthecurrentweek Refertoeachendpoint'sreferencedocumentationforsupportedfields,parameters,andusagerequirements. CommonUses GettingMediaTaggedWithAHashtag Togetallofthephotosandvideosthathaveaspecifichashtag,firstusethe/ig_hashtag_searchendpointandincludethehashtagandIDoftheInstagramBusinessorCreatorAccountmakingthequery.Forexample,ifthequeryisbeingmadeonbehalfoftheInstagramBusinessAccountwiththeID17841405309211844,youcouldgettheIDforthe"#coke"hashtagbyperformingthefollowingquery: GETgraph.facebook.com/ig_hashtag_search ?user_id=17841405309211844 &q=cokeThiswillreturntheIDforthe“#Coke”hashtagnode: { "id":"17873440459141021" }NowthatyouhavethehashtagID(17873440459141021),youcanqueryits/top_mediaor/recent_mediaedgeandincludetheBusinessAccountIDtogetacollectionofmediaobjectsthathavethe“#coke”hashtag.Forexample: GETgraph.facebook.com/17873440459141021/recent_media ?user_id=17841405309211844Thiswouldreturnaresponsethatlookslikethis: { "data":[ { "id":"17880997618081620" }, { "id":"17871527143187462" }, { "id":"17896450804038745" } ] }



請為這篇文章評分?