簡體   English   中英

從代表User獲取Instagram的公開內容

[英]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.

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