2017-04-13 15 views
0

をInstagramのAPIのメディアを検索してみてくださいすることができません。私はサンドボックスのアカウントを使用して、メディア検索を実行しようとしているサンドボックスのアカウントで

要求URL:https://api.instagram.com/v1/media/search?lat=48.858844&lng=2.294351&access_token=<my_AT>

私はこの応答を得る:

{ 
    "meta": { 
    "code": 400, 
    "error_type": "OAuthPermissionsException", 
    "error_message": "This request requires scope=public_content, but this access token is not authorized with this scope. The user must re-authorize your application with scope=public_content to be granted this permissions." 
    } 
} 

私の理解では、私は私のサイトは、生産準備ができているが、それはなくなるまで、サンドボックスのアカウントを使用する必要があることです。この機能をテストするにはどうすればよいですか?

答えて

1

public_contentスコープで認証する必要があります。そのエラーは発生せず、サンドボックスモードのAPI応答が得られます

関連する問題