我正在尝试将所有相关媒体添加到我的主题标签#Corona 中,该标签使用ig-hashtag-id 标识:17843934877037015,因此我发送了我的 GET 请求:GET graph.facebook.com/17843934877037015/recent_media?user_id=myUserID
它应该像在此处的 facebook 文档中显示的那样工作:https:/ /developers.facebook.com/docs/instagram-api/guides/hashtag-search但我将空数据作为 Json 结果返回。
{
"data": [
],
"paging": {
"cursors": {
"after": "UVZAGRFdEZAEdjRTlGYkROUk9XRk1PR1o0TnpsTGEwcEJVVE5mVTI1SmFuQkhXRzV0UldRM2JWaFdla0pKUkZAaUE1WcEZAOelZAZAYjFRMFptZAEhTbHB6ZADJOWWRWbHpTSFpUZAG1OZAlUyOVNjMVpHZAVdGclpUZA3RXZAz09"
},
"next": "https://graph.facebook.com/v10.0/17843934877037015/recent_media?access_token=myAccessToken&pretty=0&user_id=myUserID&limit=25&after=UVZAGRFdEZAEdjRTlGYkROUk9XRk1PR1o0TnpsTGEwcEJVVE5mVTI1SmFuQkhXRzV0UldRM2JWaFdla0pKUkZAaUE1WcEZAOelZAZAYjFRMFptZAEhTbHB6ZADJOWWRWbHpTSFpUZAG1OZAlUyOVNjMVpHZAVdGclpUZA3RXZAz09"
}
}
Run Code Online (Sandbox Code Playgroud)
非常感谢您提供任何建议的帮助:)
facebook-graph-api facebook-opengraph instagram-api instagram-graph-api