Oauth And The Youtube Api
I am trying to use the YouTube services with OAuth. I have been able to obtain request tokens, authorize them and transform them into access tokens. Now I am trying to use those to
Solution 1:
Turns out the problem was the newline before xmlns:yt
. I was able to debug this using ncat, as suggeested here, and inspecting the full response.
Solution 2:
i would suggest using the oauth python module, because it much more simple and takes care of the auth headers :) https://github.com/simplegeo/python-oauth2, as a solution i suggest you encode your parameters with 'utf-8' , i had a similar problem, and the solution was that google was expecting utf-8 encoded strings
Post a Comment for "Oauth And The Youtube Api"