forum.coppermine-gallery.net

Support => cpg1.5 plugins => cpg1.5.x Support => cpg1.5 plugin contributions => Topic started by: ISANexusDev on July 12, 2013, 04:24:13 pm

Title: OAuth Plugin
Post by: ISANexusDev on July 12, 2013, 04:24:13 pm
OAuth Authentication to Coppermine and basic API functions (album fetch, photos fetch and comments fetch) access with correct auth and secret tokens

Plugin can tested with PhotoFrame Live Wallpaper version >= 10.8.2 ( http://www.4shared.com/file/bqneZwfE/android_photo_frame_live_wallp.html (http://www.4shared.com/file/bqneZwfE/android_photo_frame_live_wallp.html) ) in any Android Phone with Android OS >= 2.1

Plugin download:

http://www.4shared.com/zip/aYojESlq/cpg15x_plugin_oauth_v10.html (http://www.4shared.com/zip/aYojESlq/cpg15x_plugin_oauth_v10.html)

Coppermine 1.5.24 + Oauth Plugin from:

http://www.4shared.com/zip/D4w8DI4V/cpg1524_and_PhotoFrameLiveWall.html (http://www.4shared.com/zip/D4w8DI4V/cpg1524_and_PhotoFrameLiveWall.html)
Title: Re: OAuth Plugin
Post by: Phill Luckhurst on July 12, 2013, 05:39:52 pm
Thank you for your contribution. I will review and test this sometime next week then add it to our download repository. I have added you to the contributors group.
Title: Re: OAuth Plugin
Post by: ISANexusDev on July 13, 2013, 05:15:44 pm
Here is a Sample Code for a Client using the OAuth Plugin. The code is in Java (the project itself is for Android but main classes can be used in other platforms)

http://www.4shared.com/zip/W70CuZR9/CoppermineSample.html (http://www.4shared.com/zip/W70CuZR9/CoppermineSample.html)

Also the apk for this client sample. It can be ran in any Android device with OS >= 2.1

http://www.4shared.com/android/SGDiCPMF/CoppermineSample.html (http://www.4shared.com/android/SGDiCPMF/CoppermineSample.html)

Title: Re: OAuth Plugin
Post by: ISANexusDev on July 13, 2013, 08:18:33 pm
Found a bug while writing/testing the Sample Coppermine OAuth Plugin client for Android IN THE OAUTH PLUGIN itself, so, I corrected and created an incremental version 1.1. This can be downloaded from:

http://www.4shared.com/zip/WCAmaBN4/cpg15x_plugin_oauth_v11.html (http://www.4shared.com/zip/WCAmaBN4/cpg15x_plugin_oauth_v11.html)

Version 1.0 was returning only 1 photo per album. Somebody might want more photos per album... so, here it is 1.1 to futfill the need.