我在我的網站被標記開發,用於搜索圖像的Instagram API的V.1與URL是這樣的:如何通過沒有身份驗證的標籤獲取Instagram圖片?
$url = 'https://api.instagram.com/v1/tags/' . $tagName . '/media/recent?client_id=myclientid' . '&count=20';
這工作不錯,但最近沒有工作,並通過Instagram的棄用。有沒有什麼方法可以獲得結果的淡出認證?
我在我的網站被標記開發,用於搜索圖像的Instagram API的V.1與URL是這樣的:如何通過沒有身份驗證的標籤獲取Instagram圖片?
$url = 'https://api.instagram.com/v1/tags/' . $tagName . '/media/recent?client_id=myclientid' . '&count=20';
這工作不錯,但最近沒有工作,並通過Instagram的棄用。有沒有什麼方法可以獲得結果的淡出認證?
不幸的是,你的問題的答案是否定的。
正如你所知,Instagram最近在使用API方面應用了更嚴格的要求。任何打算使用Instagram API的應用程序都必須提交他們需要的任何範圍的請求。
basic - to read a user’s profile info and media
public_content - to read any public profile info and media on a user’s behalf
follower_list - to read the list of followers and followed-by users
comments - to post and delete comments on a user’s behalf
relationships - to follow and unfollow accounts on a user’s behalf
likes - to like and unlike media on a user’s behalf
標籤屬於public_content
範圍。如果您還沒有完成審覈流程,那麼大部分內容都很簡單。您提供了應用程序的描述以及它將如何使用這些API。當我提交併申請審覈時,有一件事讓我措手不及,就是需要提交一段視頻,展示如何使用您請求的範圍。
有什麼辦法可以得到結果嗎? –