Closed (won't fix)
Project:
Feeds OAuth
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2010 at 06:51 UTC
Updated:
20 Mar 2013 at 06:32 UTC
Hi Karim,
Have you checked out oauth_common (http://drupal.org/project/oauth_common)? You should be able to use it to replace the PECL dependency quite cleanly. There's also http_client (http://drupal.org/project/http_client) which has support for making request for resources protected by OAuth.
Cheers,
Hugo
Comments
Comment #1
infojunkieThanks Hugo, I was considering using the OAuth library but I'll check your modules which seem comprehensive.
Comment #2
BenK commentedInteresting module... looking forward to testing.
Comment #3
infojunkieComment #4
voxpelli commentedSubscribing
Comment #5
infojunkie@voxpelli: Can you please explain why you are interested in integrating Feeds OAuth with OAuth.module? Is it just to get rid of dependency on PECL OAuth library or is there another use case?
Comment #6
voxpelli commented@infojunkie: As a co-maintainer of the OAuth module I'm interested in having other people use it more and contribute to it more so that we can ensure that it is as solid and useful as possible for as many Drupal modules as possible.
You shouldn't need to use PECL OAuth and any users who has already installed OAuth shouldn't need to install yet another library.
Regarding HTTP Client, which I also co-maintain, I'm not that sure you would benefit as much from that since one of the features of it is the parsing of responses, which I assume is something that other parts of Feeds is taking care of.
Comment #7
StevenWill commentedThere does not seem to me a oauth_common version for drupal 7.
edit: never mind, the oauth_common project is now at oauth.
Comment #8
jlyon commentedI just wrote a sandbox module that integrates with oauthconnector, which integrates with oauth: http://drupal.org/sandbox/jlyon/1481562. I was able to build a feed with feeds_jsonpath_parser that imports events from Facebook.
I created it as a separate module because it is extremely basic and a lot of the logic in oauth_feeds replicates the logic in oauthconnector. I would be happy to work on integrating it with oauth_feeds if you would like to go down that route as well.
Here's the readme:
Feeds OAuth Connector Fetcher
Fetches data from OAuth services for aggregation in Feeds.
Dependencies:
oauth
oauthconnector
feeds
http_client
Other Recommended Modules
feeds_jsonpath_parser
-----------------------------
INSTALLATION
-----------------------------
Enable the module from Administer -> Modules as usual.
Create a new Feed
Select the OAuth Connector Fetcher
-----------------------------
EXAMPLE USE-CASE
Creating Pages with your Facebook Feed updates
-----------------------------
I have found that Facebook's excellent Graph API Explorer (http://developers.facebook.com/tools/explorer)
is the best way to browse their api.
Comment #9
infojunkie