Note that there are some explanatory texts on larger screens.

plurals
  1. POyoutube inbox problem
    primarykey
    data
    text
    <p>I'm trying to programmatically (using gdata api) retrieve incoming messages from youtube account.</p> <p>My request:</p> <pre><code>NSURL *url = [NSURL URLWithString:@"http://gdata.youtube.com/feeds/api/users/my_nick/inbox"]; NSMutableURLRequest *inboxRequest = [NSMutableURLRequest requestWithURL:url]; NSString *authStr = [NSString stringWithFormat:@"GoogleLogin auth=%@", authMarker]; [inboxRequest setValue:authStr forHTTPHeaderField:@"Authorization"]; [inboxRequest addValue:@"Content-Type" forHTTPHeaderField:@"application/x-www-form-urlencoded"]; [inboxRequest setHTTPMethod:@"GET"]; NSHTTPURLResponse *response = NULL; NSData *responseData = [NSURLConnection sendSynchronousRequest:inboxRequest returningResponse:&amp;response error:nil]; NSString *responseDataString = [[NSString alloc] initWithData:responseData encoding:NSASCIIStringEncoding]; NSLog(@"\n%@\n", responseDataString); NSLog(@"\n%@\n", [inboxRequest ]); </code></pre> <p>return feed without entries... (although I can see incoming messages on the site)</p> <p>here response from nslog: <code>&lt;?xml version='1.0' encoding='UTF-8'?&gt;&lt;feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'&gt;&lt;id&gt;http://gdata.youtube.com/feeds/api/users/thisistestnick/inbox&lt;/id&gt;&lt;updated&gt;2011-06-16T14:45:00.475Z&lt;/updated&gt;&lt;category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#videoMessage'/&gt;&lt;title type='text'&gt;Inbox of thisistestnick&lt;/title&gt;&lt;logo&gt;http://www.youtube.com/img/pic_youtubelogo_123x63.gif&lt;/logo&gt;&lt;link rel='alternate' type='text/html' href='http://www.youtube.com/my_messages?folder=inbox&amp;amp;filter=videos'/&gt;&lt;link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/thisistestnick/inbox'/&gt;&lt;link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/thisistestnick/inbox/batch'/&gt;&lt;link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/thisistestnick/inbox?start-index=1&amp;amp;max-results=25'/&gt;&lt;author&gt;&lt;name&gt;thisistestnick&lt;/name&gt;&lt;uri&gt;http://gdata.youtube.com/feeds/api/users/thisistestnick&lt;/uri&gt;&lt;/author&gt;&lt;generator version='2.0' uri='http://gdata.youtube.com/'&gt;YouTube data API&lt;/generator&gt;&lt;openSearch:totalResults&gt;0&lt;/openSearch:totalResults&gt;&lt;openSearch:startIndex&gt;1&lt;/openSearch:startIndex&gt;&lt;openSearch:itemsPerPage&gt;25&lt;/openSearch:itemsPerPage&gt;&lt;/feed&gt;</code></p> <p>what is wrong? pls help.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload