POST instagram api follow with cURL PHP POST instagram api follow with cURL PHP curl curl

POST instagram api follow with cURL PHP


You might have enabled enforce signed requests for your instagram client app. So you need to make request with a signed header. For more details visit the following https://instagram.com/developer/restrict-api-requests/ . There they mentioned the common responses for signed requests. We should use access_token for some endpoints. And you are trying to make a post request, before making post request make sure that you have the permission to make a post request on that endpoint.The reason for your response,Header is missing {"code": 403, "error_type": "OAuthForbiddenException", "error_message": "Invalid header: X-Insta-Forwarded-For is required for this operation"}