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

View: New views
6 Messages — Rating Filter:   Alert me  

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

by gerritku :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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

by gerritku :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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

by Ulrich Wolf-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> 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...


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

by Ryan Boyd-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Wed, May 27, 2009 at 6:50 AM, gerritku <gstore@...> 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.



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

by gerritku :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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

by Ryan Boyd-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Thu, May 28, 2009 at 12:51 AM, gerritku <gstore@...> 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.