First of all thanks for this package. In the description you mentioned that I can get access to a resource if I have just the access token for it.
Example: Someone logged in with twitter on a mobile phone, the phone sends me the access token and my server can then look up what it needs.
I have looked through many of your file and can't seem to find an example of this? I am sure I can work it out, but help would probably speed that up.
|2013-05-14 05:40:54 - In reply to message 1 from Marc Godard|
|That requires to set the the redirect_uri to 'oob'. That will make Twitter show a PIN number that the user needs to enter in your site somehow so you can send a signed request to get the access token.|
That last part is not yet implemented in the class, but I can implement it soon and probably write an article about it. Please be patient.
|2013-05-27 03:35:05 - In reply to message 2 from Manuel Lemos|
|Hello, Manuel Lemos|
First of all , thanks for your class.
I want to use your class for odesk api integration, but can't get access token.
I set those values.
$client->redirect_uri = 'http://'.$_SERVER['HTTP_HOST'].
$client->client_id = 'af80152e5fa61ad20af07e89db00XX';
$client->client_secret = 'b0929aefeb75a579XXX';
$client->oauth_version = '1.0';
$client->request_token_url = 'https://www.odesk.com/api/auth/v1/oauth/token/request';
$client->access_token_url = 'https://www.odesk.com/api/auth/v1/oauth/token/access';
$client->dialog_url = 'https://www.odesk.com/services/api/auth';
$client->token_request_method = 'POST';
$client->url_parameters = true;
$client->scope = '';
After process() function , I got 401 error.
Do you have any clues for that?
Thanks for your time.