How get connect to youtube account with zend framework and youtube api?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

How get connect to youtube account with zend framework and youtube api?

gerritku
I need connect to youtube account with zend framework and youtube api 2.0.
My referenece http://code.google.com/intl/en/apis/youtube/2.0/developers_guide_php.html
but i now get error message :
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/virtual/lohaa.de/htdocs/youtube/Zend/Loader.php on line 52

Anybody have solution to get connect to youtube account?

Gerrit
Reply | Threaded
Open this post in threaded view
|

Re: How get connect to youtube account with zend framework and youtube api?

gerritku
For now i see problem there double initial. When fix initial now i get error :


Fatal error: Uncaught exception 'Zend_Gdata_App_AuthException' with message 'Authentication with Google failed. Reason: NoLinkedYouTubeAccount' in /var/www/virtual/lohaa.de/htdocs/youtube/Zend/Gdata/ClientLogin.php:174 Stack trace: #0 /var/www/virtual/lohaa.de/htdocs/youtube/index.php(19): Zend_Gdata_ClientLogin::getHttpClient('gerrit.bagus@gm...', '******', 'youtube', NULL, 'MySource', NULL, NULL, 'https://www.goo...') #1 {main} thrown in /var/www/virtual/lohaa.de/htdocs/youtube/Zend/Gdata/ClientLogin.php on line 174

Any solution?


Gerrit
Reply | Threaded
Open this post in threaded view
|

AW: How get connect to youtube account with zend framework and youtube api?

Ulrich Wolf
In reply to this post by gerritku
> Fatal error: Uncaught exception 'Zend_Gdata_App_AuthException' with
message 'Authentication with Google failed. Reason: NoLinkedYouTubeAccount'

There is your answer. Link your google account with an youtube-account, then
it should work. Look here

http://www.google.com/support/youtube/bin/answer.py?hl=en&answer=69964


Regards,
Uli

PS: You are always sending your mails twice...

Reply | Threaded
Open this post in threaded view
|

Re: How get connect to youtube account with zend framework and youtube api?

Ryan Boyd-3
In reply to this post by gerritku


On Wed, May 27, 2009 at 6:50 AM, gerritku <[hidden email]> wrote:

For now i see problem there double initial. When fix initial now i get error
:


Fatal error: Uncaught exception 'Zend_Gdata_App_AuthException' with message
'Authentication with Google failed. Reason: NoLinkedYouTubeAccount' in
/var/www/virtual/lohaa.de/htdocs/youtube/Zend/Gdata/ClientLogin.php:174
Stack trace: #0 /var/www/virtual/lohaa.de/htdocs/youtube/index.php(19):
Zend_Gdata_ClientLogin::getHttpClient('gerrit.bagus@gm...', 'gerrit78',
'youtube', NULL, 'MySource', NULL, NULL, 'https://www.goo...') #1 {main}
thrown in
/var/www/virtual/lohaa.de/htdocs/youtube/Zend/Gdata/ClientLogin.php on line
174

That error simply means that you are trying to login with Google credentials that don't have an associated YouTube account.  Head over to youtube.com and login with the same credentials and you should be able to link the Google account up to an existing YouTube account or create a new YouTube username/profile.

Cheers,
-Ryan
 


Any solution?


Gerrit
--
View this message in context: http://www.nabble.com/How-get-connect-to-youtube-account-with-zend-framework-and-youtube-api--tp23739835p23742926.html
Sent from the Zend gdata mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

Re: How get connect to youtube account with zend framework and youtube api?

gerritku
for authentic coding is now already no error
i still confuse, how to get inbox information like :
x Personal Messages  
x Shared with you  
x Comments  
x Friend Invites  
x Video Responses
with php code?

anybody ever implemented it or have idea ?

Thanks
Gerrit
Reply | Threaded
Open this post in threaded view
|

Re: How get connect to youtube account with zend framework and youtube api?

Ryan Boyd-3


On Thu, May 28, 2009 at 12:51 AM, gerritku <[hidden email]> wrote:

for authentic coding is now already no error
i still confuse, how to get inbox information like :
x Personal Messages
x Shared with you
x Comments
x Friend Invites
x Video Responses
with php code?

anybody ever implemented it or have idea ?

Not all of that information is available, but the info which is available (and the corresponding php code for getting at it) is all documented in the YouTube Developer's Guide for PHP at: http://code.google.com/apis/youtube/2.0/developers_guide_php.html

Cheers,
-Ryan
 


Thanks
Gerrit
--
View this message in context: http://www.nabble.com/How-get-connect-to-youtube-account-with-zend-framework-and-youtube-api--tp23739835p23756871.html
Sent from the Zend gdata mailing list archive at Nabble.com.