Issue Type: Improvement Created: 2010-03-11T17:57:42.000+0000 Last Updated: 2010-04-28T11:47:27.000+0000 Status: Resolved Fix version(s): - 1.10.5 (26/May/10)
Reporter: Rafael Gil Beckel (rafaelbeckel) Assignee: Pádraic Brady (padraic) Tags: - Zend_Oauth
Related issues: Attachments: - Client.php
Application error Exception information:
Hacking a little bit I discovered Youtube object expects a GData Http Client, which has the method setRawDataStream.
I solved this issue copying some methods from /Zend/GData/HttpClient.php to /Zend/OAuth/Client.php. Now OAuth client supports video upload without crashing.
Where can I send the modified file to your revision?
Posted by Rafael Gil Beckel (rafaelbeckel) on 2010-03-11T17:59:39.000+0000
It's the modified version of /Zend/OAuth/Client.php with new classes.
Posted by Pádraic Brady (padraic) on 2010-03-16T05:33:51.000+0000
Thanks for the report. Can you do me a favour? Just need to understand how you are using OAuth in this scenario. As you substituting the GData client with an OAuth Client, for example? If you can confirm this, I'll take a look at how the GData client operates, and look into porting over any changes as you suggest in your patch.
Posted by Rafael Gil Beckel (rafaelbeckel) on 2010-03-28T23:43:39.000+0000
Hi Mr. Brady,
Yes, it's exactly like that. I'm using OAuth Client instead of GData Client. For some reason, I couldn't authenticate with Authsub using GData (I only successfully authenticate with ClientLogin), so I managed to do it with OAuth.
When I get the Access Key, I can generate a Http Client with it, but this client couldn't upload videos because it doesn't had some methods that GData client has.
To resolve this question, it's only a matter of copying carefully some methods from GData client (/Zend/GData/HttpClient.php) to OAuth client (/Zend/OAuth/Client.php).
Best wishes, Rafael
Posted by Pádraic Brady (padraic) on 2010-04-28T11:47:26.000+0000
Implemented in r22036 ;).
I'll update the OAuth docs for this new feature support at a later date.
Have you found an issue?
See the Overview section for more details.