[GData Protocol] Re: reusing ClientLogin token

2009-03-09 Thread Eric Bidelman
Yep.  You can use this to fetch the ClientLogin auth token:
$token = $yt_client-getClientLoginToken()

Eric

On Mon, Mar 9, 2009 at 4:43 AM, seth kkotlar...@gmail.com wrote:


 Hello
 Does Gdata lib provide some class fro reusing ClientLogin tokens or do
 i have to write my own?
 I'm planing to use YouTube in background of my php application and i'd
 prefer not to login each time some page is refreshed.



 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Data Protocol group.
To post to this group, send email to google-help-dataapi@googlegroups.com
To unsubscribe from this group, send email to 
google-help-dataapi+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~--~~~~--~~--~--~---



[GData Protocol] Re: reusing ClientLogin token

2009-03-09 Thread seth

yes and manually rebuild Zend_Gdata_HttpClient object but i was
looking for more complex solution that could store token and renew it
when it's necessary
ill get back to it when i find out how to fix
Zend_Gdata_YouTube_VideoEntry-setVideoDeveloperTags() - it throws
errors in Zend_Gdata_Media_Extension_MediaGroup and
Zend_Gdata_Media_Extension_MediaCategory
looks even googles bugs finds me in no time
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Data Protocol group.
To post to this group, send email to google-help-dataapi@googlegroups.com
To unsubscribe from this group, send email to 
google-help-dataapi+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~--~~~~--~~--~--~---



[GData Protocol] Re: reusing ClientLogin token

2009-03-09 Thread Eric Bidelman
Token management is left to the application developer.
Eric

On Mon, Mar 9, 2009 at 1:56 PM, seth kkotlar...@gmail.com wrote:


 yes and manually rebuild Zend_Gdata_HttpClient object but i was
 looking for more complex solution that could store token and renew it
 when it's necessary
 ill get back to it when i find out how to fix
 Zend_Gdata_YouTube_VideoEntry-setVideoDeveloperTags() - it throws
 errors in Zend_Gdata_Media_Extension_MediaGroup and
 Zend_Gdata_Media_Extension_MediaCategory
 looks even googles bugs finds me in no time
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Data Protocol group.
To post to this group, send email to google-help-dataapi@googlegroups.com
To unsubscribe from this group, send email to 
google-help-dataapi+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~--~~~~--~~--~--~---