You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I took the liberty of changing one of your albums :)
I turned externals off on this gallery… [redacted]
So requesting any of those image URLs from another web server should fail without OAuth.
The idea I had to make it the most flexible was to have a function like signResource($url), > where you pass the image URL that you want to sign and the function returns the $url with all the OAuth parameters. You can then pass that off to curl, wget or embed it in an img tag.
As I understand this, this is essentially creating a method that returns a string for GET requests with all of the OAuth params included... like Appendix A.5.3 at http://oauth.net/core/1.0/
The text was updated successfully, but these errors were encountered:
* Added ability to sign an image URL with OAuth authentication parameters to allow embedding of "non-external" images within external sites. Fixes Ticket #16.
* Added example-external-links.php example to demonstrate the above.
* Switched to using Markdown for the README file.
* Misc other little coding changes and improvements.
Idea from David Parry @ Smugmug...
As I understand this, this is essentially creating a method that returns a string for GET requests with all of the OAuth params included... like Appendix A.5.3 at http://oauth.net/core/1.0/
The text was updated successfully, but these errors were encountered: