Hello there,
I've recently trying to use GetGlue's API. I'm stuck with the first
authentication: with basic requests (friends list, profile info, etc),
everything works fine. With actions, on the other hand, I get as
response a 401 Unauthorized.
On Wed, Sep 28, 2011 at 9:49 AM, aur0n <fondam...@gmail.com> wrote: > Hello there, > I've recently trying to use GetGlue's API. I'm stuck with the first > authentication: with basic requests (friends list, profile info, etc), > everything works fine. With actions, on the other hand, I get as > response a 401 Unauthorized.
> -- > You received this message because you are subscribed to the Google Groups > "glue-development" group. > To post to this group, send email to glue-development@googlegroups.com. > To unsubscribe from this group, send email to > glue-development+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/glue-development?hl=en.
I changed the URL to "http://api.getglue.com/v2/user/addLike? objectId=objectId=tv_shows/true_blood" but nothing changes. The
library returns me "ERROR:
oauth.signpost.exception.OAuthCommunicationException: Communication
with the service provider failed: Server returned HTTP response code:
401 for URL: http://api.getglue.com/oauth/access_token"
This problem is driving me crazy. :S
On Sep 28, 4:29 pm, "Karen Teng (GetGlue)" <ka...@getglue.com> wrote:
> If you pass in something else into objectId, like
> objectId=tv_shows/true_blood, does that work?
> - Karen
> On Wed, Sep 28, 2011 at 9:49 AM, aur0n <fondam...@gmail.com> wrote:
> > Hello there,
> > I've recently trying to use GetGlue's API. I'm stuck with the first
> > authentication: with basic requests (friends list, profile info, etc),
> > everything works fine. With actions, on the other hand, I get as
> > response a 401 Unauthorized.
> > --
> > You received this message because you are subscribed to the Google Groups
> > "glue-development" group.
> > To post to this group, send email to glue-development@googlegroups.com.
> > To unsubscribe from this group, send email to
> > glue-development+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/glue-development?hl=en.
On Wed, Sep 28, 2011 at 10:55 AM, aur0n <fondam...@gmail.com> wrote: > Hi Karen, > thanks for your fast reply.
> I changed the URL to "http://api.getglue.com/v2/user/addLike? > objectId=objectId=tv_shows/true_blood" but nothing changes. The > library returns me "ERROR: > oauth.signpost.exception.OAuthCommunicationException: Communication > with the service provider failed: Server returned HTTP response code: > 401 for URL: http://api.getglue.com/oauth/access_token"
> This problem is driving me crazy. :S
> On Sep 28, 4:29 pm, "Karen Teng (GetGlue)" <ka...@getglue.com> wrote: > > Hi there,
> > If you pass in something else into objectId, like > > objectId=tv_shows/true_blood, does that work?
> > - Karen
> > On Wed, Sep 28, 2011 at 9:49 AM, aur0n <fondam...@gmail.com> wrote: > > > Hello there, > > > I've recently trying to use GetGlue's API. I'm stuck with the first > > > authentication: with basic requests (friends list, profile info, etc), > > > everything works fine. With actions, on the other hand, I get as > > > response a 401 Unauthorized.
> > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "glue-development" group. > > > To post to this group, send email to glue-development@googlegroups.com > . > > > To unsubscribe from this group, send email to > > > glue-development+unsubscribe@googlegroups.com. > > > For more options, visit this group at > > >http://groups.google.com/group/glue-development?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "glue-development" group. > To post to this group, send email to glue-development@googlegroups.com. > To unsubscribe from this group, send email to > glue-development+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/glue-development?hl=en.
> Are you signing the request with the access token of the user?
> On Wed, Sep 28, 2011 at 10:55 AM, aur0n <fondam...@gmail.com> wrote:
> > Hi Karen,
> > thanks for your fast reply.
> > I changed the URL to "http://api.getglue.com/v2/user/addLike? > > objectId=objectId=tv_shows/true_blood" but nothing changes. The
> > library returns me "ERROR:
> > oauth.signpost.exception.OAuthCommunicationException: Communication
> > with the service provider failed: Server returned HTTP response code:
> > 401 for URL:http://api.getglue.com/oauth/access_token"
> > This problem is driving me crazy. :S
> > On Sep 28, 4:29 pm, "Karen Teng (GetGlue)" <ka...@getglue.com> wrote:
> > > Hi there,
> > > If you pass in something else into objectId, like
> > > objectId=tv_shows/true_blood, does that work?
> > > - Karen
> > > On Wed, Sep 28, 2011 at 9:49 AM, aur0n <fondam...@gmail.com> wrote:
> > > > Hello there,
> > > > I've recently trying to use GetGlue's API. I'm stuck with the first
> > > > authentication: with basic requests (friends list, profile info, etc),
> > > > everything works fine. With actions, on the other hand, I get as
> > > > response a 401 Unauthorized.
> > > > Any suggetions would be really appreciated.
> > > > Thanks for your time.
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "glue-development" group.
> > > > To post to this group, send email to glue-development@googlegroups.com
> > .
> > > > To unsubscribe from this group, send email to
> > > > glue-development+unsubscribe@googlegroups.com.
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/glue-development?hl=en.
> > --
> > You received this message because you are subscribed to the Google Groups
> > "glue-development" group.
> > To post to this group, send email to glue-development@googlegroups.com.
> > To unsubscribe from this group, send email to
> > glue-development+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/glue-development?hl=en.
I found two issues yesterday that might be effecting you also. When I
tried to do my authentication the Request, Authorization and Access
URL's had to be "http". When I used the listed URLs and their "https"
protocol it did not work I got a 403 error. When I changed it started
sending the requests just fine.
I also found an issue where I don't have a callback URL defined in the
GetGlue API system. I instead have to pass a callback in the URL.
GetGlue is not honoring this URL and instead is not sending the token
back to my callback URL.