google-plus-one

Google +1 Button not working in IE7?

不问归期 提交于 2019-11-28 20:00:53
Works fine in IE8, IE9, and latest Chrome and Firefox, but can't seem to get it to show up in IE7. This is even with the most basic example of using the script. Anyone had similar issues? Thanks! http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=1151309 Looks like it's not supported. 来源: https://stackoverflow.com/questions/6218789/google-1-button-not-working-in-ie7

Google +1 Button not W3C compliant

假如想象 提交于 2019-11-28 18:30:48
问题 So I've been playing with Google's +1 button trying to get it on my website, but it's not W3C compliant. Here's the code: <!-- Place this tag in your head or just before your close body tag --> <script type="text/javascript" src="http://apis.google.com/js/plusone.js"> {lang: 'en-GB'} </script> <!-- Place this tag where you want the +1 button to render --> <g:plusone size="medium" href="http://www.example.org"></g:plusone> Does anyone know why this happens and how to make this compliant?

How do I get the counter of a google plus +1 button?

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-28 17:32:19
I have added a google +1 button to a website, but I want to get it's counter so i can do some math over it. is it possible to enter the iframe created by the standard method of creating the +1 button or do I need to make some adjustment? <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <g:plusone></g:plusone> I've tried this link: 1 , but this is not very accurate Aron Cederholm If you can access curl/file_get_contents/readfile/wget or some way to fetch an external URL, this is quite simple. Load the following URL: https://plusone.google.com/_/+1/fastbutton

Share link on Google+

旧巷老猫 提交于 2019-11-28 16:36:47
Is it possible to share/post to Google+ without using the +1 button? e.g. Like a normal tweet button works with a url link: http://twitter.com/share?url=httpetcetcetc tgkokk Yes, you can. https://plus.google.com/share?url=YOUR_URL_HERE Edit: It works only with eff.org . Edit: As of March 2012 it works on all sites. Documentation for this sharing method is available on the Google Developers site . New Google share link: http://plus.google.com/share?url=YOUR_URL For secure connection: https://plus.google.com/share?url=YOUR_URL For Wordpress: https://plus.google.com/share?url=<?php the_permalink(

Social media buttons slow down website load time

≡放荡痞女 提交于 2019-11-28 15:14:49
I'm creating a simple and fast website, and I'm trying to optimize the site as much as I can. I noticed that social media buttons are slowing down the website by quite a lot. I'm including the Facebook Like Button, Twitter Button and Google+ Button. So I ran a few tests: Website without social media buttons, loading time 0.24s: Website with social media buttons, loading time 1.38s: Here is my code: <div id="social"> <!-- FB --> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id

Adding a Google Plus (one or share) link to an email newsletter

若如初见. 提交于 2019-11-28 14:58:48
I am trying to find a way to embed a share/+1 link for Google+ in a Newsletter, much like the Facebook share and tweeter tweet links can be embedded in a newsletter, which can be achieved with the following two urls: https://www.facebook.com/sharer.php?u=[URL]&t=[TEXT] http://twitter.com/intent/tweet?source=sharethiscom&text=[TEXT]&url=[URL] Is there a similar functionality available for Google Plus? All I could find on my own, is the Google+ button, which unfortunately uses JavaScript and thus it cannot be used in an email newsletter. I would expect Google to provide a static url fallback,

Why does Google +1 record my mouse movements? [closed]

允我心安 提交于 2019-11-28 13:11:21
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 years ago . This is only on pages with a Google +1 box on my website: It seems to be firing off an event on every mouse move. Anyone know what it is doing? I searched on Google (perhaps I should try Bing for once on this one!) but no one seems to have written about it. Is it recording

Are there tags to specify the Google +1 story format in Google+ like og-meta for Facebook?

被刻印的时光 ゝ 提交于 2019-11-28 04:56:51
With Facebook we have the Open Graph tags that allow webmasters to specify how the story is displayed on Facebook. Is there something similar for the Google +1 button, that allows webmasters to specify the thumbnail image, description and title? Google+ seems to be ignoring the og-meta tags . texmex5 From Google+ help docs, we now have an official answer . Google uses schema.org microdata to generate rich snippets in search (and in Google+). There's a lot written about schema.org and how it relates to Facebook OpenGraph in these two links: See: http://www.google.com/support/webmasters/bin

How to get Google +1 count for current page in PHP?

落爺英雄遲暮 提交于 2019-11-27 19:07:33
I want to get count of Google +1s for current web page ? I want to do this process in PHP, then write number of shares or +1s to database. That's why, I need it. So, How can I do this process (getting count of +1s) in PHP ? Thanks in advance. This one works for me and is faster than the CURL one: function getPlus1($url) { $html = file_get_contents( "https://plusone.google.com/_/+1/fastbutton?url=".urlencode($url)); $doc = new DOMDocument(); $doc->loadHTML($html); $counter=$doc->getElementById('aggregateCount'); return $counter->nodeValue; } also here for Tweets, Pins and Facebooks function

Use custom image for Google+1 button?

百般思念 提交于 2019-11-27 17:57:01
I want to include a "google+1" button on a page, yet I want to use a custom image with a custom size for it and preferably without javascript, much like is possible to do with Facebook and Twitter. I don't care if it don't show the count number for now. Aaviya Finally! Found a nice solution to this problem. So simple and working :) Hope it helps you! <a href="https://plus.google.com/share?url=ADD_YOUR_URL" > <img src="path_to_your_image" alt="Google+" title="Google+"/> </a> Source: http://notesofgenius.com/how-develop-custom-google-plus-button/ This is the official example from the google