google-plus-one

Is it possible to access a user's Google +1 (Plus One) history via an API?

青春壹個敷衍的年華 提交于 2019-12-02 15:18:16
I would like to access a user's Google Plus One history With +1 enabled, the history is saved in your Google profile and optionally can be displayed: http://www.google.com/+1/button/ It is possible to access this programatically (once the user has given permission via normal Google Authentication and Authorization?) I have only been able to find information for the API to add the button to sites. You can allways try to parse the data used by G+ itself. The G+ user profile has a tab with all public +1, that can be fetched with https://plus.google.com/_/plusone/get?oid=<google-plus-id> It seems

Android +1 button in WebView

对着背影说爱祢 提交于 2019-12-01 11:37:36
I've tried putting Google's +1 button in WebView using the methods they describe. I've initialized the WebView as follows: final WebView web = (WebView)findViewById(R.id.webView); web.getSettings().setJavaScriptCanOpenWindowsAutomatically(true); web.getSettings().setJavaScriptEnabled(true); web.getSettings().setSavePassword(false); web.getSettings().setBuiltInZoomControls(false); web.getSettings().setUseWideViewPort(true); web.getSettings().setLoadWithOverviewMode(true); web.setScrollBarStyle(WebView.SCROLLBARS_OUTSIDE_OVERLAY); web.setHorizontalScrollBarEnabled(false); web.setBackgroundColor

Difficulty getting google plus one count

亡梦爱人 提交于 2019-12-01 11:24:45
I have been searching all over the internet on how to get programaticaly google plus one button count. Finally i found this article Here is the Php Script mentioned in the arcticle. <?php $url = "http://www.tomanthony.co.uk/"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://clients6.google.com/rpc?key=AIzaSyCKSbrvQasunBoV16zDH9R33D88CeLr9gQ"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, '[{"method":"pos.plusones.get","id":"p","params":{"nolog":true,"id":"' . $url . '","source":"widget","userId":"@viewer","groupId":"@self"},"jsonrpc":"2.0","key":"p",

Adding a Google +1 Button after page load in IE 8

不打扰是莪最后的温柔 提交于 2019-12-01 06:26:51
I'm working on a site right now where I need to build a URL before putting the button on the page. Here's how it works: var googleplus = $("<g:plusone size='tall' href='http://google.com'></g:plusone>"); $("#container").append(googleplus); gapi.plusone.go(); And in the head I have this: <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> This works in Firefox/Chrome/IE 9, but not IE 8. I'm at a loss as to what else to do to make it work. I tried with the gapi.plusone.render() method as well, still no luck. Here is the solution, it works for me in both IE7/8:

Is there a Google Plus URL debugger like the one for Facebook? [closed]

怎甘沉沦 提交于 2019-11-30 12:37:15
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Do you know if there is a tool in Google Plus like the one on Facebook? http://developers.facebook.com/tools/debug 回答1: Yes, here it is: http://www.google.com/webmasters/tools/richsnippets 来源: https://stackoverflow.com/questions/7985398/is-there-a-google-plus-url-debugger-like-the-one-for-facebook

Google PlusOne Button has errors on Chrome

☆樱花仙子☆ 提交于 2019-11-30 12:04:42
问题 Google PlusOne has errors on Chrome: Uncaught ReferenceError: iframes is not defined fastbutton:19 Uncaught ReferenceError: iframes is not defined fastbutton:19 Uncaught TypeError: Cannot read property 'plusones' of undefined (program):66 Uncaught TypeError: Object #<Object> has no method 'hefn' fastbutton:16 the [not-so-]funny part is that it works on IE and on FireFox. I should also add that it was working for a while properly and I only see these errors now. not sure what has changed. any

Facebook, Twitter, and Google +1 buttons using only HTML (No Javascript)

半腔热情 提交于 2019-11-30 11:23:56
I would like to know if there is a method to create "share" buttons for Facebook, Twitter and Google +1 using only HTML, without any Javascript having to be inserted into the code at any point. For example, you can use the methods described below to create these buttons dynamically; however they all end up loading Javascript dynamically and creating their own code behind the scenes: http://developers.facebook.com/docs/reference/plugins/like/ http://twitter.com/about/resources/buttons http://www.google.com/webmasters/+1/button/ The following links will register the appropriate Likes, Tweets and

how to get the +1 count in google plus using any API

家住魔仙堡 提交于 2019-11-30 09:34:25
I have tried many things but I'm not able to get a proper API which will return me the +1 count in google plus. I have already tried using :- Getting Counts for Twitter links, Facebook likes and Google +1 with Jquery and AJAX Getting Google+ subscription count with jQuery How do I get the counter of a google plus +1 button? But none of them is giving me the answer. Any thoughts.... Thanks :) i just found out a very useful site to solve our problem. :) Thanks to him! http://99webtools.com/script-to-get-shared-count.php redbmk You could write your own function using the link you and jgillich

Google plus-one button on a page that is refreshed with AJAX

浪尽此生 提交于 2019-11-30 09:05:24
Is anyone aware of some code for Google's plus-one button that will work on a page that is refreshed with AJAX? It was very simple with Facebook, but I can't find any documentaion about this for Google. Thanks. Hovhannes I was searching for this too and found this <!-- Place this tag in your head or just before your close body tag --> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"> {parsetags: 'explicit'} </script> <!-- Place this tag where you want the +1 button to render --> <g:plusone></g:plusone> <!-- Place this render call where appropriate --> <script type=

What kind of json answer starts with )]}'

断了今生、忘了曾经 提交于 2019-11-30 06:51:28
I have noticed that some json queries, particularly in google services, return a peculiar "json" which starts with a closing sequence and then it has just a array structure, specified with square braces. What kind of ajax is this? Is there some library, js or py, parsing it? To put a more concrete example: >>> import json >>> import urllib2 >>> url=urllib2.urlopen("https://plus.google.com/u/0/_/socialgraph/lookup/visible/?o=%5Bnull%2Cnull%2C%22114423404493486623226%22%5D") >>> url.readline() ")]}'\n" >>> url.readline() '\n' >>> url.readline() '[["tsg.lac",[]\n' and from there, a typical array