Greetings!
I'm having trouble with Social Share and a RadSocialButton where SocialNetType is "GooglePlusOne". It seems very easy to replicate.
When I use that button via the test below, the URL that it requests from Google for the FastButton script is:
https://apis.google.com/_/+1/fastbutton?bsv&size=470&annotation=470&width=&hl=en-US&origin=http%3A%2F%2Flocalhost%3A57814&url=http%3A%2F%2Fwww.telerik.com%2F&ic=1&jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.en_GB.VvwHmr5PUZc.O%2Fm%3D__features__%2Fam%3DEQ%2Frt%3Dj%2Fd%3D1%2Frs%3DAItRSTPwTaslh-up04HMsbjUbinCI6C0Hw
Google is returning an error 400 (access is denied) for that script url.
It seems that the problem with the URL is the "annotation=470" parameter. According to the Google API, annotation is an enumeration that should have a value such as "none" or "inline". "470" seems invalid and I suspect is causing the problem. Is it mistakenly being copied over from size?
Is this a known issue? Am I doing something wrong or is there a workaround?
To confirm, the URL:
https://apis.google.com/_/+1/fastbutton?bsv&size=470&width=&hl=en-US&origin=http%3A%2F%2Flocalhost%3A57814&url=http%3A%2F%2Fwww.telerik.com%2F&ic=1&jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.en_GB.VvwHmr5PUZc.O%2Fm%3D__features__%2Fam%3DEQ%2Frt%3Dj%2Fd%3D1%2Frs%3DAItRSTPwTaslh-up04HMsbjUbinCI6C0Hw
...works fine (which is the same URL, without the annotation parameter).
I am using 2013.2.611.40
The code to reproduce this is simply:
I'm having trouble with Social Share and a RadSocialButton where SocialNetType is "GooglePlusOne". It seems very easy to replicate.
When I use that button via the test below, the URL that it requests from Google for the FastButton script is:
https://apis.google.com/_/+1/fastbutton?bsv&size=470&annotation=470&width=&hl=en-US&origin=http%3A%2F%2Flocalhost%3A57814&url=http%3A%2F%2Fwww.telerik.com%2F&ic=1&jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.en_GB.VvwHmr5PUZc.O%2Fm%3D__features__%2Fam%3DEQ%2Frt%3Dj%2Fd%3D1%2Frs%3DAItRSTPwTaslh-up04HMsbjUbinCI6C0Hw
Google is returning an error 400 (access is denied) for that script url.
It seems that the problem with the URL is the "annotation=470" parameter. According to the Google API, annotation is an enumeration that should have a value such as "none" or "inline". "470" seems invalid and I suspect is causing the problem. Is it mistakenly being copied over from size?
Is this a known issue? Am I doing something wrong or is there a workaround?
To confirm, the URL:
https://apis.google.com/_/+1/fastbutton?bsv&size=470&width=&hl=en-US&origin=http%3A%2F%2Flocalhost%3A57814&url=http%3A%2F%2Fwww.telerik.com%2F&ic=1&jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.en_GB.VvwHmr5PUZc.O%2Fm%3D__features__%2Fam%3DEQ%2Frt%3Dj%2Fd%3D1%2Frs%3DAItRSTPwTaslh-up04HMsbjUbinCI6C0Hw
...works fine (which is the same URL, without the annotation parameter).
I am using 2013.2.611.40
The code to reproduce this is simply:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="GooglePlusTest._default" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <div> <asp:ScriptManager runat="server" /> <telerik:RadSocialShare ID="RadSocialShare1" runat="server" UrlToShare="http://www.telerik.com" > <MainButtons> <telerik:RadSocialButton SocialNetType="ShareOnFacebook" /> <telerik:RadSocialButton SocialNetType="GooglePlusOne" /> <telerik:RadSocialButton SocialNetType="ShareOnTwitter" /> </MainButtons> </telerik:RadSocialShare> </div> </form></body></html>