I'm having trouble getting the callback to work for the web check-in
widget. I am able to display the widget and check in to it, but it
does not appear that the callback I provide is ever getting called.
My html is essentially identical to your example (the callback I
provide current just posts an alert message). Any assistance would be
much appreciated.
On Thu, Feb 9, 2012 at 2:33 PM, Brian <brianfinam...@gmail.com> wrote: > Hi,
> I'm having trouble getting the callback to work for the web check-in > widget. I am able to display the widget and check in to it, but it > does not appear that the callback I provide is ever getting called. > My html is essentially identical to your example (the callback I > provide current just posts an alert message). Any assistance would be > much appreciated.
> Thanks,
> Brian
> -- > 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.
Thanks for the response. Below is the snippet I am using:
<!DOCTYPE HTML>
<html>
<head>
<title>Get Glue</title>
</head>
<body>
<script src="http://widgets.getglue.com/checkin.js" type="text/
javascript"></script>
<script type="text/javascript">
function my_getglue_callback(username, objectid, title,
numcheckins) {
console.log('just checked in!'); // never gets called :(
if (numcheckins == 1) {
alert('Thanks for checking in to American Dad');
}else{
alert('You are on your way to becoming a fan of
American Dad');
}
}
</script>
<a href="http://getglue.com" class="glue-checkin-widget" data-
callback="my_getglue_callback" data-type="feed" data-title="American
Dad Checkins" data-objectId="tv_shows/american_dad" data-width="480"
data-height="700" data-prompt="Check in to American Dad">Check-in on
GetGlue</a>
</body>
</html>
Any ideas?
Thanks!
On Feb 9, 3:59 pm, "Karen Teng (GetGlue)" <ka...@getglue.com> wrote:
> We checked on our end and callback is correctly working.
> Possible to send over a snippet of your code?
> Note that the callback has to be a property of the window object -
> if you try to do object.method it won't work
> - Karen
> On Thu, Feb 9, 2012 at 2:33 PM, Brian <brianfinam...@gmail.com> wrote:
> > Hi,
> > I'm having trouble getting the callback to work for the web check-in
> > widget. I am able to display the widget and check in to it, but it
> > does not appear that the callback I provide is ever getting called.
> > My html is essentially identical to your example (the callback I
> > provide current just posts an alert message). Any assistance would be
> > much appreciated.
> > Thanks,
> > Brian
> > --
> > 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.
Did you get a chance to look over the source I posted? Any assistance
would be greatly appreciated, as we would like to integrate your
service into our app.
Thanks,
Brian
On Feb 9, 4:30 pm, Brian <brianfinam...@gmail.com> wrote:
> Thanks for the response. Below is the snippet I am using:
> <!DOCTYPE HTML>
> <html>
> <head>
> <title>Get Glue</title>
> </head>
> <body>
> <script src="http://widgets.getglue.com/checkin.js" type="text/
> javascript"></script>
> <script type="text/javascript">
> function my_getglue_callback(username, objectid, title,
> numcheckins) {
> console.log('just checked in!'); // never gets called :(
> if (numcheckins == 1) {
> alert('Thanks for checking in to American Dad');
> }else{
> alert('You are on your way to becoming a fan of
> American Dad');
> }
> }
> </script>
> <a href="http://getglue.com" class="glue-checkin-widget" data-
> callback="my_getglue_callback" data-type="feed" data-title="American
> Dad Checkins" data-objectId="tv_shows/american_dad" data-width="480"
> data-height="700" data-prompt="Check in to American Dad">Check-in on
> GetGlue</a>
> </body>
> </html>
> Any ideas?
> Thanks!
> On Feb 9, 3:59 pm, "Karen Teng (GetGlue)" <ka...@getglue.com> wrote:
> > Hi Brian,
> > We checked on our end and callback is correctly working.
> > Possible to send over a snippet of your code?
> > Note that the callback has to be a property of the window object -
> > if you try to do object.method it won't work
> > - Karen
> > On Thu, Feb 9, 2012 at 2:33 PM, Brian <brianfinam...@gmail.com> wrote:
> > > Hi,
> > > I'm having trouble getting the callback to work for the web check-in
> > > widget. I am able to display the widget and check in to it, but it
> > > does not appear that the callback I provide is ever getting called.
> > > My html is essentially identical to your example (the callback I
> > > provide current just posts an alert message). Any assistance would be
> > > much appreciated.
> > > Thanks,
> > > Brian
> > > --
> > > 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.
We did in fact confirm that this is a bug on our end -- the callback on feed widgets appear to not be working at the moment. I've filed the issue with the team and it will get fixed / resolved in our upcoming widgets release.
On Mon, Feb 13, 2012 at 3:56 PM, Brian <brianfinam...@gmail.com> wrote: > Hi Karen,
> Did you get a chance to look over the source I posted? Any assistance > would be greatly appreciated, as we would like to integrate your > service into our app.
> Thanks,
> Brian
> On Feb 9, 4:30 pm, Brian <brianfinam...@gmail.com> wrote: > > Hi Karen,
> > Thanks for the response. Below is the snippet I am using:
> > <!DOCTYPE HTML> > > <html> > > <head> > > <title>Get Glue</title> > > </head> > > <body> > > <script src="http://widgets.getglue.com/checkin.js" type="text/ > > javascript"></script> > > <script type="text/javascript"> > > function my_getglue_callback(username, objectid, title, > > numcheckins) { > > console.log('just checked in!'); // never gets called :( > > if (numcheckins == 1) { > > alert('Thanks for checking in to American Dad'); > > }else{ > > alert('You are on your way to becoming a fan of > > American Dad'); > > } > > } > > </script> > > <a href="http://getglue.com" class="glue-checkin-widget" data- > > callback="my_getglue_callback" data-type="feed" data-title="American > > Dad Checkins" data-objectId="tv_shows/american_dad" data-width="480" > > data-height="700" data-prompt="Check in to American Dad">Check-in on > > GetGlue</a> > > </body> > > </html>
> > Any ideas?
> > Thanks!
> > On Feb 9, 3:59 pm, "Karen Teng (GetGlue)" <ka...@getglue.com> wrote:
> > > Hi Brian,
> > > We checked on our end and callback is correctly working. > > > Possible to send over a snippet of your code?
> > > Note that the callback has to be a property of the window object - > > > if you try to do object.method it won't work
> > > - Karen
> > > On Thu, Feb 9, 2012 at 2:33 PM, Brian <brianfinam...@gmail.com> wrote: > > > > Hi,
> > > > I'm having trouble getting the callback to work for the web check-in > > > > widget. I am able to display the widget and check in to it, but it > > > > does not appear that the callback I provide is ever getting called. > > > > My html is essentially identical to your example (the callback I > > > > provide current just posts an alert message). Any assistance would > be > > > > much appreciated.
> > > > Thanks,
> > > > Brian
> > > > -- > > > > 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.