galen / PHP-Instagram-API

PHP 5.3+ wrapper for the Instagram API
338 stars 159 forks source link

Configurable authorization function #49

Closed caje731 closed 9 years ago

caje731 commented 9 years ago

Added a config parameter to specify arguments that can change on runtime. For example: if the original redirect_uri mentioned in the config is http://www.my_redirect.com, we can now invoke authorize() with array('redirect_uri'=> 'http://www.my_redirect.com?q=runtime_val') This helps in handling scenarios that vary at runtime, depending on the url arguments passed.

caje731 commented 9 years ago

I'm closing this, I'll open another request with another commit that should have gone along with this commit