cosenary / Instagram-PHP-API

An easy-to-use PHP Class for accessing Instagram's API.
http://cosenary.github.com/Instagram-PHP-API
BSD 3-Clause "New" or "Revised" License
1.46k stars 781 forks source link

Add function generate_sig #128

Open luizzgithub opened 9 years ago

luizzgithub commented 9 years ago

https://instagram.com/developer/secure-api-requests/

vinkla commented 9 years ago

Thanks for your contribution! Could you reformat this commit to only show what you've added? Currently big chunks of the class has reformatted syntax.

flynn314 commented 9 years ago

Tested your fork. Not working for me. Follow function returns error. [code] => 403 [error_type] => OAuthForbiddenException [error_message] => Invalid header: X-Insta-Forwarded-For is required for this operation Please. Test your code. And as mentioned, do not format whole file.