Hi,

'scope' is one of the parameters sent to the AuthSub service when you
request an authentication token.  The scope value indicates what
application your token is for, in this case www.blogger.com (although
you may have used www2.blogger.com).

I realize you're using the Blogger data API, but there is a good
overview in PHP of AuthSub authentication in the Calendar Developer's
Guide.  You can find it here: 
http://code.google.com/apis/calendar/developers_guide_php.html#AuthAuthSub

Hope that helps,
Lane

On Apr 20, 4:50 pm, kinesis77 <[EMAIL PROTECTED]> wrote:
> Ok Here is my header...
> Array
> (
>     [0] => Host: www2.blogger.com
>     [1] => Connection: close
>     [2] => Content-type: application/atom+xml
>     [3] => User-agent: Zend_Http_Client
>     [4] => Authorization: AuthSub token="CNH0sOKVGRCN-8fUBQ"
>     [5] => Content-length: 272
>     [6] => Cookie: NSC_cmphhfs-fyu=0a1401080050%3BVersion%3D1%3BMax-Age
> %3D1800%3Bpath%3D%2F;
> )
>
> Here is my post body
> <?xml version="1.0"?>
> <entry xmlns="http://www.w3.org/2005/Atom";>
>         <title type="text">Drifting</title>
>         <author>
>                 <name>Kinesis</name>
>         </author>
>         <content type="xhtml">
>
>                 <div xmlns="http://www.w3.org/1999/xhtml";>
>                         <p>Here is a post</p>
>                 </div>
>         </content>
> </entry>
>
> And yet I keep getting this error - Uncaught exception
> 'Zend_Gdata_Exception' with message 'Post to Google failed. Reason:
> AuthSub token has wrong scope.
>
> I am using the code from 
> herehttp://framework.zend.com/manual/en/zend.gdata.blogger.html
> for the most part. So can some one tell me whats wrong?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to