Hi Manuel,
Great script! I have used it for lots of services successfully e.g. Google, Yahoo! and Hotmail.
I am trying to get it to work with AOL mail contacts, here is an example of an endpoint I am trying to load is:
api.abweb.aol.com/ABWebApi/get/@me/
...
(this should display all contacts in an account).
This is the server I included in: oauth_client_class.php
<?php
// AOL server
case 'Aol':
$this->oauth_version = '2.0';
$this->dialog_url = 'https://api.screenname.aol.com/auth/authorize?response_type=code&client_id={CLIENT_ID}&redirect_uri={REDIRECT_URI}&scope={SCOPE}';
$this->access_token_url = 'https://api.screenname.aol.com/auth/access_token?grant_type=authorization_code&client_id={CLIENT_ID}&client_secret={CLIENT_SECRET}&redirect_uri={REDIRECT_URI}';
break;
?>
The error I am being retuned is:
{"response":{"statusCode":400,"statusText":"Missing required parameters","data":{"redirectURL":"http://api.screenname.aol.com/auth/login"}}}
Please let me know and keep up the good work :)
Ashley