[英]Get public content from Instagram on behalf of User
現在Instagram已經改變了策略,他們已經禁用了以下功能:
那么現在有沒有辦法搜索用戶並獲得公共內容?
我已經登錄https://www.instagram.com/developer/endpoints/,但無法找到替代品。
在最近的更改之后,只允許獲取Instagram商業帳戶的信息,並且必須使用Facebook的圖形API。
還應該有Instagram商業帳戶 。 從Facebook查看此指南:
https://developers.facebook.com/docs/instagram-api/getting-started
至於Facebook Graph API調用,下面是幾個例子:
獲取Facebook頁面的ID(您需要獲取自己的Instagram商業帳戶ID)
/me/accounts
獲取您自己的 Instagram商業帳戶ID
FACEBOOK_Page_ID?fields=instagram_business_account
通過用戶名獲取任何 Instagram企業帳戶的基本帳戶信息(我以“stonebrewing”為例)
Your_Instagram_Business_Account_ID?fields=business_discovery.username(stonebrewing){
biography,website,username,followers_count,media_count
}
獲取任何 Instagram企業帳戶的帖子和一些數據列表
Your_Instagram_Business_Account_ID?fields=business_discovery.username(stonebrewing)
{media{id,comments_count,like_count,media_type, media_url, caption, owner}}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.