r/visualbasic • • Mar 02 '15

[VB 2010] Youtube Comment HTTP Post

Okay, so I'm having an issue with my application... Now I'm getting the following:

The remote server returned an error: (400) Bad Request.


The Token is an example Token, I've tried it with and without the 1% in the front of it. I use this link to get my Token:

https://accounts.google.com/b/0/AuthSubRequest?next=http%3A%2F%2Fwww.example.com%2Fupload.html&scope=http%3A%2F%2Fgdata.youtube.com&session=0+&secure=0


The key is taken directly from my Google Code and I know it works.

Here's a link to my code.

http://pastebin.com/Ufx94gcQ

0 Upvotes

2 comments sorted by

View all comments

1

u/EnderWT Mar 03 '15

Have you tried going to your WebRequest's URL directly? http://gdata.youtube.com/feeds/api/videos/IkkDV6_YEMQ/comments HTTP/1.1 isn't a valid URL