Browse files

renamed + small bugfix issue #22

  • Loading branch information...
hannesvdvreken committed Jul 17, 2012
1 parent ed859a0 commit 7be9605615366ab8ae92add869baaa518d3ac744
@@ -12,27 +12,13 @@ The original team of coders is:
With PlugID, users can register on your service using their accounts on various social media sites. Currently supported are Vikingspots, Foursquare, Facebook, Twitter and Google+.
Once the user gives permission, your webservice can work with the connected account(s).
-PlugID can be run on any server that runs PHP 5.3 or higher.
+Also possible is to clone this base application, write your own api in a subfolder of application/controllers and write a route towards it in the application/config/routes.php config file. From there you can load your drivers and authenticate them to do some api calls to the connected services.
-OAuth library for php
-This is the OAuth1.0a library for PHP, which is to be installed when using OAuth1.0a service providers. More documentation can be found at:
-How to install in Linux:
-$ sudo apt-get install php-pear php5-dev make libpcre3-dev
-$ sudo pecl install oauth
-All there is to it.
-How to install in Windows:
+PHP 5.3+
+Minumum required php version installed is 5.3 . The .htaccess file is for apache2 webserver. The sql dump file is for mySQL but can be adapted for other RDBMS's.
Copyright and license
@@ -38,9 +38,11 @@ function index() {
+ var_dump( strtok($redirect_uri,'?') ); exit ;
// optional callback
if ($redirect_uri !== FALSE) {
- if ($redirect_uri != $client->redirect_uri) {
+ if (strtok($redirect_uri,'?') != $client->redirect_uri) { // allow state param set, etc...
// Wrong redirect_uri

0 comments on commit 7be9605

Please sign in to comment.