簡體   English   中英

使用Instagram API,我可以顯示從特定位置獲取所有帖子嗎?

[英]using the Instagram API, can i display get all posts from a specific location?

嗨,Instagram開發人員,我想獲取我們位置所有instagram帖子的提要(發布與我們一起住宿的圖片的客人)。 不幸的是,使用API​​只能獲得我自己的用戶以外的任何其他帖子,這顯然不是我想要的...可以采取任何措施嗎?

使用PHP集成

感謝您的幫助

您可以使用企業的位置ID查詢Instagram API,例如: https://api.instagram.com/v1/locations/{location-id}/media/recent?access_token=ACCESS-TOKEN ://api.instagram.com/v1/locations/{location-id}/media/recent?access_token https://api.instagram.com/v1/locations/{location-id}/media/recent?access_token=ACCESS-TOKEN

這將返回您所在位置的最新帖子。

如果您不知道自己的位置ID,則為Instagram上您的位置頁面URL末尾的數字,例如https://www.instagram.com/explore/locations/222206243/

請參閱他們的文檔以獲取有關包含的內容的更多信息: https : //www.instagram.com/developer/endpoints/locations/

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM