I am working on an OAuth implementation for getting external data from Yahoo and Google. From what I read in the documentation and code for the OAuth module, the way to do this would be to take the oauth_test module and customise it as needed. However, the oauth_test module seems to handle only an XML-RPC interface. From what I've read from Google and Yahoo documentation, they use an html/REST interface. Any pointers on where I can get started on customising the test module? Do we need to write our own functions for handling it or are there functions already written in the module to handle it that I can call? What about fetching the actual data? Does this require our own functions as well?

Sorry if this seems to be a very simple question. I'm a newbie :D

Anirudh

Comments

amariotti’s picture

subscribing +1

brmassa’s picture

Status: Active » Fixed

Guys,

the OAuth test module is just to show developers that the OAuth flow works and how it works. Its not designed to be a template (not by design), thats why i use XMLRPC (because this protocol is already in Drupal core).

if you need to use REST or SOAP, you might an extra module or code for yourselves, unfortunately.

best regards,

massa

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.