Welcome to WebmasterWorld Guest from 184.72.148.222

Forum Moderators: open

Message Too Old, No Replies

How reliable is Google 1+ callback function

Just try to use 1+ to unlock content

     
10:17 pm on Jul 17, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member jetteroheller is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 22, 2005
posts: 2987
votes: 2


<g:plusone callback=gp1cb></g:plusone>

and in the javascript

gp1t=new Array();

function gp1cb(gp1v)
{
alert(gp1v.href);
gp1t[gp1v.href]=gp1v.state;
}

Sometime it works, sometime it does not work.

I can not find anything wrong.

I give a plus 1, and sometimes the callback function is not called
I take a plus 1, and sometimes the callback function is not called
but the 1+ button count reacts on my action.
6:19 am on July 18, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member jetteroheller is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 22, 2005
posts: 2987
votes: 2


Load sequence matters!

All my successfull tests had been with 1+ buttons
rendered by javascript on demand

This means I created them after the web site was loaded

All unsuccessfull tests had been with buttons built into the page

Now I moved function gb1cb used for the callback parameter
into the head section of the page. Now it works like expected
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members