Please provide at least basic level documentation to developers to get a 'hello world' running. For example, where are the 3 end URLs; request, access,....

Comments

Hugo Wetterberg’s picture

Assigned: Unassigned » Hugo Wetterberg
Hugo Wetterberg’s picture

Will do. I'm working on a RestClient and a DrupalOAuthClient class that can be used as a starting point for this doc. If you want some immediate pointers you could take a look at the following classes:

http://github.com/hugowetterberg/oauth_common/blob/9a990831faa934fec7936...
http://github.com/hugowetterberg/rest_client/blob/f958a29b8fbad727ec141e...
http://github.com/hugowetterberg/rest_client/blob/f958a29b8fbad727ec141e...

Chris2u’s picture

For all not wanting to dive into the code,
the 3 endpoint urls are:

Get Request Token: http://yourdoimain/oauth/request_token
Authorization: http://yourdomain/oauth/authorize
Access: http://yourdomain/oauth/access_token

yajnin’s picture

subscribe

sumitk’s picture

subscribe

matholum’s picture

Version: 6.x-1.x-dev » 6.x-1.0-beta6
Priority: Critical » Normal

I know this is on older post but I am kinda stuck and documentation would be very helpful. I have everything installed but I have to clue what my next step is supposed to be. I set my service's authentication to OAuth but it isn't working (that I know of). My ultimate goal is to login to my site over services with a Facebook Account (I am using Drupal for Facebook). Any help would be much appreciated.

Thanks!

-Matt

mottolini’s picture

I'm using oauth_services 6.x-1.0-beta6, services 6.x-2.4, oauth_common 6.x-1.0-beta5 on Drupal 6.19.
What I would like to do is to create an oauth service accessible through json calls.
I googled for one day and I was able to create a custom service, call it from a web page using javascript and json, but I wasn't able to find any example, tutorial or documentation on how to do it adding Oauth.
Can somebody drop here some hint?

P.S. github links from Hugo Wettenberg don't work anymore

g.k’s picture

same issue here, subscribing

yang_yi_cn’s picture

subscribe

voxpelli’s picture

Status: Active » Closed (won't fix)

@mottolini: Take a look at http://drupal.org/project/oauthloginprovider

Will close this issue as it's now up to the OAuth module and the Services module to document this.

Check eg. #1007354: Better documentation