Hello David,

Looking at the log, it seems that the header is never set. Can you try
setting the header this way:

   $.ajax({
      url: "https://www-opensocial.googleusercontent.com/api/people/@me/@all
",
      dataType: 'jsonp',
      data: { alt: 'json-in-script' },
      headers: { 'Authorization': 'Bearer ' + token },
      success: function (data, status) {
        console.log("The returned data", data);
      }
   });

Or try setting a breakpoint to see if the beforeSend actually sets the
header.

Best,
Alain

On Thu, Sep 15, 2011 at 3:36 PM, David Tuite <[email protected]> wrote:

> Actually the "_=" param is probably just part of jQuery's setup for the
> jsonp callback function.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html
>



-- 
Alain Vongsouvanh | Developer Programs Engineer

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html

Reply via email to