Ruby on Rails Monday, May 2, 2011

I do:

client = GData::Client::DocList.new
client.clientlogin('chabgood@gmail.com', 'password')

I can do client.inspect and see the token.  When I do:

feed = client.get('http://gdata.youtube.com/feeds/api/users/default/uploads').to_xml

I get token not found error:

HEAD>
<TITLE>Token invalid</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Token invalid</H1>
<H2>Error 401</H2>
</BODY>
</HTML>

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment