Websites/The Open Standard/zurb tech specs: Difference between revisions

Jump to navigation Jump to search
Line 52: Line 52:


'''G+'''<br>
'''G+'''<br>
Google does not appear to allow access to the raw share count, and AFAIK there is no public API for this methind. A possible workaround is to call the following url and extract the number.
Google does not appear to allow access to the raw share count, and AFAIK there is no public API for this method. A possible workaround is to call the following url and extract the number.
<pre>
<pre>
https://plusone.google.com/_/+1/fastbutton?url=http://www.mozilla.org
https://plusone.google.com/_/+1/fastbutton?url=http://www.mozilla.org
</pre>
</pre>
This is particularly problematic because the number returned could be a string (1.6k) and will need to be normalized.
This is tricky because the number returned could be a string (1.6k) and will need to be normalized.


Alternatively https://www.sharedcount.com/faq.php was recommended however it currently lists G+ as [https://www.sharedcount.com/faq.php inconsistent] so there is likely little value add to be gained by using this service and if G+ is required we should probably just use the native hack mentioned above.
Alternatively https://www.sharedcount.com/faq.php was recommended however it currently lists G+ as [https://www.sharedcount.com/faq.php inconsistent] so there is likely little value add to be gained by using this service and if G+ is required we should probably just use the native hack mentioned above.
canmove, Confirmed users
2,745

edits

Navigation menu