ok, i did it. hope somebody will see it soon.

On 24 Paź, 14:46, dflorey <[email protected]> wrote:
> You are suffering from:
>
> http://code.google.com/p/gdata-issues/issues/detail?id=1381
>
> Please star this issue as Google may at least accept the bug report,
> once some users are interested in a fix.
>
> On 23 Okt., 21:50, rajchowiak <[email protected]> wrote:
>
> > Hi All,
>
> > i search group and can not find any solution. I am using AuthSub with
> > secure token. Authorization process goes great. I receive token,
> > exchange to session token and no error appear.
>
> > I would like to get contact groups info using that header:
>
> > array(4) {
> >   [0]=>
> >   string(42) "GET /m8/feeds/groups/default/full HTTP/1.1"
> >   [1]=>
> >   string(346) "Authorization: AuthSub token="CPKsufXbExCk8Ljh-v____8B"
> > data="GEThttp://www.google.com/m8/feeds/groups/default/full
> > 1256326777 15948652339726849410" sig="czJ3m/CaOHZ5zRkisy5KDaEAhZ
> > +g6Y2c9cgzCYxXt6vKfIGTS8N2aAiPR6oXNEi5LtFZCKgQ/
> > swi3qhQVKsDVDVjHonKgmeg82iWm2zs7zRiDQ1EHhf2oaaUV74hUcMKgHxLouGKjJUNGhXJnyFa 
> > sJuVQt/
> > sTXd471GU5qvsXmU=" sigalg="rsa-sha1""
> >   [2]=>
> >   string(34) "Content-Type: application/atom+xml"
> >   [3]=>
> >   string(18) "GData-Version: 3.0"
>
> > }
>
> > signature is made using that code:
> > openssl_sign($data, $signature, $pk,OPENSSL_ALGO_SHA1);
> > where $data:
> > $data="GEThttp://www.google.com/m8/feeds/groups/default/full".time
> > ()." 15948652339726849410";
>
> > I receive this error message:
> > Unknown authorization header
> > Error 401
>
> > Have anyone any suggestion?
>
> > Jakub
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Contacts 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-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to