I've been trying to get picasa integration to work for a few days
without any success. I have lost sleep, weight and some hair.
I'm now wondering if i'm missing any fundamental steps.
Error i get:
====================================================
Fatal error: Uncaught exception 'Zend_Gdata_App_AuthException' with
message 'Token upgrade failed. Reason: <HTML> <HEAD> <TITLE>Invalid
AuthSub token.</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Invalid AuthSub token.</H1> <H2>Error 403</H2> </BODY> </HTML> '
in C:\Inetpub\vhosts\xyz.com\httpdocs\destinations\zend\library\Zend
\Gdata\AuthSub.php:136 Stack trace: #0 C:\Inetpub\vhosts\xyz.com
\httpdocs\destinations\zend\library\index.php(419):
Zend_Gdata_AuthSub::getAuthSubSessionToken('CJP-tevhAxDTqqT...') #1 C:
\Inetpub\vhosts\xyz.com\httpdocs\destinations\zend\library
\index.php(438): getAuthSubHttpClient() #2 C:\Inetpub\vhosts\xyz.com
\httpdocs\destinations\zend\library\index.php(904): processPageLoad()
#3 {main} thrown in C:\Inetpub\vhosts\xyz.com\httpdocs\destinations
\zend\library\Zend\Gdata\AuthSub.php on line 136
============================================================
My Understanding of integrating xyz.com with picasa web album using
AuthSub
- register the xyz.com and the url (xyz.com/picasa/)
- Download the Zend library
- When user is logged in to xyz.com and wants to integrate picasa,
there will be a link that says "login to your picasa account and grant
access"
- The user clicks the link, goes to picasa, signs in
- Picasa says "grant access". User cliks "grant access"
- Picasa redirects to the xyz.com/picasa with the token in URL
- xyz.com now saves the token in DB in the user's account table
----------------------
After this process is done, the xyz.com can post user pictures,
retrieve albums etc.
---------------------
NOTE:
- The xyz.com does not store user's picasa password and picasa email
and picasa username
(or should teh site store email, username and password)
because
- when i connect to picasa using the user token and username as
'DEFAULT' i get invalid token.
- And in all the posts i have seen in this forum, the sample codes
have email and password along with token in the requests to picasa
- The token works as long as the browser cache is not deleted. The
error appears when the cahce is deleted.
Please help and you will be in my prayers.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---