Closed (won't fix)
Project:
Feeds OAuth
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2010 at 20:01 UTC
Updated:
20 Mar 2013 at 06:33 UTC
I can't manage to authenticate, or so it seems. I've tried the feeds / feedsoauth / feeds_xmlparser modules on a server with the PECL installed, I was able to set things up perfectly, even authenticating with twitter. If I look in my database I find an entry in the feeds_oauth_access_tokens table.
Still when trying to parse an example of http://api.twitter.com/statuses/retweeted_by_me.xml I keep getting "Invalid protected resource url length". Any ideas on this?
Comments
Comment #1
infojunkieAs far as the PECL source code seems to indicate, this error occurs if the URL you're trying to access is empty. So make sure that the source URL you're entering in the feed node is not empty.
If it's not, then you need to debug a little:
* Install devel.module
* In function
OAuthHTTPBatch::getRaw()(OAuthHTTPFetcher.inc line 32) insert the lineright before
Now try to import the items again. What gets printed?
Comment #2
wza commentedYes, this appears to be empty. I'm assuming this should be the http://api.twitter.com/oauth/request_token url right?
Comment #3
wza commentedhardcoding it kills the error, but still returns an empty array
Comment #4
infojunkieNo, this should be the resource URL (http://api.twitter.com/statuses/retweeted_by_me.xml in your case). Where did you set this URL?
Comment #5
wza commentedI tried overriding $this->url in the function just for testing purposes. didn't work tho'.
Comment #6
infojunkieClosing old issue.