google-plus

How to use Google +1 in a content script without Content Security Policy error?

不想你离开。 提交于 2020-01-13 06:54:08
问题 I'm trying to build chrome extension that uses +1 google api. My manifest.json looks like: "manifest_version": 2, "content_security_policy": "script-src 'self' https://apis.google.com; object-src 'self'", ... "matches": ["http://demosite.com/*"], "js": ["js/jquery.js","js/social/plusone.js"] As you can see I've whitelisted apis.google.com. My plusone.js looks like: var head = document.getElementsByTagName('head')[0]; var script = document.createElement('script'); script.type = 'text

google plus interactive post callback

房东的猫 提交于 2020-01-12 08:59:33
问题 I integrated Google+ Sign-In on my website, users can register on this site and when they share something via Google+ interactive posts, is attributed to their 1 point, so I need a callback from interactivepost otherwise not know if users cancel the sharing. Do you know how to get a callback from interactive post? The code is as follows: <button id="gpShareBtn" class="g-interactivepost" data-contenturl="<?php echo _PATHWEB; ?>" data-clientid="<?php echo _GPCLIENTID ?>" data-cookiepolicy=

Is it possible to get a person public profile photo using email alone, just like on the old G+/Picasa API?

余生颓废 提交于 2020-01-11 20:22:52
问题 Background In the past, and in the near future, it's possible, given a person's email, to get the profile photo, as shown here: Retrieving a user's public google/gmail picture It is even possible without any login to the network of G+, as shown here. The problem As the docs say (here), this API will soon be deprecated and so it won't be possible to use it anymore: The Picasa Web Albums Data API will be turned off and all associated OAuth scopes will be disabled. Read the deprecation notice.

Is it possible to get a person public profile photo using email alone, just like on the old G+/Picasa API?

荒凉一梦 提交于 2020-01-11 20:22:37
问题 Background In the past, and in the near future, it's possible, given a person's email, to get the profile photo, as shown here: Retrieving a user's public google/gmail picture It is even possible without any login to the network of G+, as shown here. The problem As the docs say (here), this API will soon be deprecated and so it won't be possible to use it anymore: The Picasa Web Albums Data API will be turned off and all associated OAuth scopes will be disabled. Read the deprecation notice.

Get Google+ ID from Google Contacts

别说谁变了你拦得住时间么 提交于 2020-01-11 12:37:53
问题 I'm pulling a user's contacts email addresses and names using the Google Contacts API. Is there a way to get those people's Google+ IDs as well? 回答1: The contacts API will return a profile link if a G+ profile is linked with the contact entry. Here's an example: <gContact:website href='http://www.google.com/profiles/1234567890' rel='profile'/> In that element's href attribute, 1234567890 is the person identifier that would match the id field of the relevant person resource from people.list of

Get User Name from Google Plus in android

你离开我真会死。 提交于 2020-01-11 08:11:46
问题 I have integrated Google plus with my android app. Everything is working fine, i am also connected to Google plus but I am not able to get the name of current user logged. public void onConnected(Bundle connectionHint) { String personName="Unknown"; if (Plus.PeopleApi.getCurrentPerson(mGoogleApiClient) != null) { Person currentPerson = Plus.PeopleApi.getCurrentPerson(mGoogleApiClient); personName = currentPerson.getDisplayName(); } } Plus.PeopleApi.getCurrentPerson(mGoogleApiClient) this

LinkedIn & Google+ UIActivity View Controller Button?

筅森魡賤 提交于 2020-01-11 07:29:08
问题 I understand that there is a Facebook & Twitter button for the UIActivity View Controller, but I was wandering if there was a service for sharing to Google+ or LinkedIn through the UIActivityViewController? 回答1: There is not one for each available in apple provided types, but you can create your own. You can create an UIActivity class and pass it into the UIActivityViewController to handle sending data to each of the services you are looking to interactive with: DataItemProvider *dataToShare

How to get client secret from Google Developers Console in iOS?

我只是一个虾纸丫 提交于 2020-01-11 02:50:52
问题 Currently i am working on one of old project within that there is a client id and client secret. Now i want to update those with new client id and client secret using another Developer account. I followed each and every step from https://developers.google.com/+/mobile/ios/getting-started Google APIs Console - missing client secret But i can see only client id. Where is the client secret ? Here i can see only client id 回答1: Hey this is step by step process ,hope this helps you... Step 1: Goto

Google+ photos api [closed]

十年热恋 提交于 2020-01-10 19:27:40
问题 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 2 years ago . Is there a Google+ photos gdata API? I was using Google picasa API but picasa has a 1 GB limit for photos. I want to upload all my photos using the script which i am writing to Google+ photos. Is there a Google+ photos gdata API? 回答1: Google+ does not currently have a public photo API. It was accidentally

Google Plus share in a popup

ⅰ亾dé卋堺 提交于 2020-01-10 07:14:04
问题 I'm trying to build a Google+ share feature on a website just like the one you see on questions here at stackoverflow. When you click that Google+ button an a question it opens a new window to a URL like this: https://plus.google.com/share?url=http://www.stackoverflow.com I've experimented with this and found that for some reason it only works for a few domains, including stackoverflow.com. For example google.com: https://plus.google.com/share?url=http://www.google.com or eff.org: https:/