1
我无法对Instagram API进行任何/媒体/搜索调用而不会出错。Instagram oAuthException缺少url
在Firefox中,端点
https://api.instagram.com/v1/media/search?lat=48.858844&lng=2.294351&?access_token=VALID_ACCESS_TOKEN
(其中VALID_ACCESS_TOKEN,是一个有效的访问令牌与其他API调用成功的作品。)
我得到以下输出
{"meta":{"error_type":"OAuthParameterException","code":400,"error_message":"\"client_id\" or \"access_token\" URL parameter missing. This OAuth request requires either a \"client_id\" or \"access_token\" URL parameter."}}
我无法理解这个错误,因为显然,访问令牌存在于URL中。
难道是一些奇怪的字符编码问题?
有趣...我之前发布的网址直接来自Instagram的开发者页面[link](http://instagram.com/developer/endpoints/media/#get_media_search)。也许是?在这个例子中表示“在这里放置更多的参数”。或者它可能只是一个错字...感谢您的答案。 – user1494640