PHP Classes

eventful accident?

Recommend this page to a friend!

      PHP OAuth Library  >  PHP OAuth Library package blog  >  How to Implement PHP ...  >  All threads  >  eventful accident?  >  (Un) Subscribe thread alerts  
Subject:eventful accident?
Summary:just noticing the account name is defined as the developer..
Messages:4
Author:Robin Goodheart
Date:2014-07-17 20:11:50
Update:2014-07-17 22:09:40
 

  1. eventful accident?   Reply   Report abuse  
Picture of Robin Goodheart Robin Goodheart - 2014-07-17 20:11:50

hi there,

just noticed as I attempted to discover why each website has it's own "login with" script.

In the eventful one it says:

$account = 'mlemos';

is this an accident?

  2. Re: eventful accident?   Reply   Report abuse  
Picture of Robin Goodheart Robin Goodheart - 2014-07-17 20:15:09 - In reply to message 1 from Robin Goodheart

Just out of curiosity why is there a separate file for each oauth login? is there that much difference between sites how things are handled?


  3. Re: eventful accident?   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-07-17 22:08:56 - In reply to message 1 from Robin Goodheart
There is no big difference between each script in terms of the OAuth process because most of the differences between the OAuth servers are handled by the class.

The main difference between each script is the CallAPI function call that retrieves the details of each user from each API.

  4. Re: eventful accident?   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-07-17 22:09:40 - In reply to message 1 from Robin Goodheart
The account there is is just a default value that you need to replace by your user name.