Reputation: 1
I have a problem when I try to give a picture admired by instagram api
Error message that appears to me
stdClass Object ( [code] => 403 [error_type] => OAuthForbiddenException [error_message] => Invalid header: X-Insta-Forwarded-For is required for this operation )
Code which is used to give the image impress
print_r($instagram->likeMedia(783976945516349891_353981601));
can you help me :(
Upvotes: 0
Views: 1100
Reputation: 11
I believe what you have to do is turn off the Enforce signed header option on your Instagram API developer account.
That should get rid of your error.
Upvotes: 1