google-plus

Google Plus API get photo albums/videos

最后都变了- 提交于 2020-01-01 06:56:04
问题 How can I get the Google Plus Photo Albums for a user or a page? I can get the activities (post/video/photo) all together. This is the code I'm using: var provider = new NativeApplicationClient(GoogleAuthenticationServer.Description); provider.ClientIdentifier = GoogleIdentifier; provider.ClientSecret = GoogleSecret; ActivitiesResource.Collection collection = new ActivitiesResource.Collection(); var service = new PlusService(); service.Key = GoogleKey; ActivitiesResource.ListRequest list =

Google +1 count as json for a url

为君一笑 提交于 2020-01-01 06:06:28
问题 Is it possible to get the public +1 counts for a specific url from google+ as json or xml? (Something similar to the functionality of the +1 button) 回答1: no, there is no API for getting +1s for a URL. For now, you can only get plusoners for an activity via activity.get or people.listByActivity. We've had reports lately of people.listByActivity not returning the full list, so until we get that fixed I'd stick with pulling the count from activity.get. 回答2: Currently there is no public API

Implement Google+ Sign-In with React Native

僤鯓⒐⒋嵵緔 提交于 2020-01-01 04:16:08
问题 I'm wanting to integrate G+ Sign In (as per https://developers.google.com/+/mobile/ios/sign-in) in a React Native app. I have Facebook Sign In working via http://brentvatne.ca/facebook-login-with-react-native/ which is working perfectly, but I'm not sure what to do at this point of the G+ docs: In your view controller's .h file, import GooglePlus/GooglePlus.h, and declare that this controller class implements the GPPSignInDelegate protocol If anyone could provide some pointers/code samples?

Starting a hangout with a list of users invited

為{幸葍}努か 提交于 2020-01-01 00:11:08
问题 I have a website where is discussion is happening among some people with valid gmail ids. If one of them in the discussion clicks on the google hangout button, I need to start a hangout with the list of users in the discussion invited already i.e. I need to avoid the Add Participant popup that comes up when the hangout app is opened. Is there a way to do this? I explored the documentation and I couldn't find any API to invite a participant. 回答1: To the best of my knowledge (and more than

Using Google+ iOS API how to get logged in user's profile details?

限于喜欢 提交于 2019-12-31 08:41:30
问题 I've managed to successfully log in to google plus from an iPhone app. But how to get logged in user's details? such as profile id, email etc. I tried this, Stackoverflow answer for a similar question but I was unable to get it working. In that sample what exactly is being passed to accessTocken here, NSString *str = [NSString stringWithFormat:@"https://www.googleapis.com/oauth2/v1/userinfo?access_token=%@",accessTocken]; I've implemented that code in - (void)finishedWithAuth:

Using Google+ iOS API how to get logged in user's profile details?

你离开我真会死。 提交于 2019-12-31 08:41:23
问题 I've managed to successfully log in to google plus from an iPhone app. But how to get logged in user's details? such as profile id, email etc. I tried this, Stackoverflow answer for a similar question but I was unable to get it working. In that sample what exactly is being passed to accessTocken here, NSString *str = [NSString stringWithFormat:@"https://www.googleapis.com/oauth2/v1/userinfo?access_token=%@",accessTocken]; I've implemented that code in - (void)finishedWithAuth:

Google+ API : Get Profile's currentLocation

有些话、适合烂在心里 提交于 2019-12-31 08:34:20
问题 I'm currently building a test and trying to get a google+ user location. I'm testing on myself and have set my position to public. I was originally planning to use Google Latitude, however, since Google is deprecating this API in a few days, my only option is to use the Google+ API. The parameter currentLocation was added a few months ago I'm therefore trying to get it. But could not manage to do it. I've tested on my own server using the PHP API and then the JS API with Oauth2.0, but this

Google+ API : Get Profile's currentLocation

此生再无相见时 提交于 2019-12-31 08:34:09
问题 I'm currently building a test and trying to get a google+ user location. I'm testing on myself and have set my position to public. I was originally planning to use Google Latitude, however, since Google is deprecating this API in a few days, my only option is to use the Google+ API. The parameter currentLocation was added a few months ago I'm therefore trying to get it. But could not manage to do it. I've tested on my own server using the PHP API and then the JS API with Oauth2.0, but this

Google Sign In error: Status Code: SIGN_IN_REQUIRED when signing in with Google on android

有些话、适合烂在心里 提交于 2019-12-31 03:25:07
问题 Everytime I try to login with Google API, I get the following error. My manifest has the appropriate permissions and I did create my credentials accordingly. So I don't know what the problem is. The consent screen doesn't show either. com.omer.notetoself D/NTS:﹕ ConnectionResult{statusCode=SIGN_IN_REQUIRED, resolution=PendingIntent{3678d5c: android.os.BinderProxy@19bcbe30}, message=null} package com.omer.notetoself; import android.app.Activity; import android.content.Intent; import android

RFC 3339 how make a dateTime from

旧时模样 提交于 2019-12-30 18:06:11
问题 I'm trying to format a date passed from a google plus Api thats like the guide says in RFC 3339 format: PUBLISHED-> datetime-> The time at which this activity was initially published. Formatted as an RFC 3339 timestamp. So by php documentation i found that: DATE_RFC3339 Same as DATE_ATOM (since PHP 5.1.3) And that both format are something like: "Y-m-d\TH:i:sP" Actually the output of the Google api is something like: 2014-01-22T10:36:00.222Z When I'm trying to launch command like: $date =