google-plus

Google Authentication in Android Unity Plugin

廉价感情. 提交于 2019-12-23 02:48:05
问题 I'm working on an Android application that includes communication with the Amazon S3 servers. The app is being developed in Unity and I would like to include a system so that the users can authenticate with their Google Accounts and then use those credentials to access the S3 server through Cognito. To do that, I need to implement a Google Authenticator system in Unity, and I am having a hard time figuring out how to do it. My current approach consists in creating a Plugin with Android Studio

Google Plus SDK not refreshing token (iOS)

余生颓废 提交于 2019-12-23 02:28:47
问题 Using Google Plus SDK for sign-in. Everything works great at first, but appears that the oauth token is expiring after about 1 hour. I am following the recommendations on Google's site and using [signIn trySilentAuthentication] in viewDidAppear function. I know the token is expired because I am using Oauth on my server and getting a 401 response. Also worth noting that this is not a problem if the iPhone/iPad is left plugged in with the screen on. In this case the app works indefinitely

iframe www.youtube.com/subscribe_embed? google plus

让人想犯罪 __ 提交于 2019-12-23 01:37:15
问题 I saw this thread Embed Youtube subscribe counter? and I am wondering where does this button come from ? I asked it on that thread but I don't think anyone noticed that I tried some code for myself but this gives a js error Uncaught Error: Bad hint <iframe data-gapiattached="true" frameborder="0" scrolling="no" src="http://www.youtube.com/subscribe_embed?bsv&usegapi=1&channel=HERE CHANNELNAME" style="overflow: hidden; height: 24px; width: 170px; border: 0;"> </iframe> It looks like a plusone

com.google.android.gms.common.api.ApiException: 10:

穿精又带淫゛_ 提交于 2019-12-23 01:28:21
问题 I want do Google SignIn using below gradle. implementation 'com.google.android.gms:play-services-auth:15.0.0' Below code for initialisation : private fun initGooglePlus() { val gso = GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestIdToken(getString(R.string.server_client_id)) .requestEmail() .build() mGoogleSignInClient = GoogleSignIn.getClient(this.activity!!, gso) } I am calling below code in my button click private fun googlePlusLogin() { val signInIntent =

Google plus not able to share?

半腔热情 提交于 2019-12-23 01:19:49
问题 Currently my web site is in staging i.e., working as IP address http://example.com. I have added google share button to share web pages in g+. When I try to share a link like this http://example.com/index/ It shows error like "There was a problem saving your post. Please try again." Can I share IP address in g+. Please help. -- 回答1: In order for the share button to work, the page in question must be publicly accessible. The Google share bot needs to be able to get to your page to get the

Google plus sign in on android

▼魔方 西西 提交于 2019-12-22 23:01:34
问题 I've been searching web for a few days, and I am totally confused. I would like to add "Sign In with Google+" button to my android app. All I need from user is his name, email (if possible) and ID. Google suggests to use it's library, but I believe that it is to heavy solution for my purposes. I know that I should use OAuth, but I don't know what API I should use. Can someone point me where should I start? 回答1: Actually I do recommend to use Google's own client, this would be GoogleAPIClient

Google+ API. Sharing interactive posts error. Claimed origin not in whitelist

白昼怎懂夜的黑 提交于 2019-12-22 18:46:34
问题 I do everything as stated on this page developers.google.com however, the window appears for a split second, and then an error in the console "Claimed origin not in whitelist: (mySiteLink)" 回答1: Your web origin in the Google API Console should only include http:// or https:// and then the host name. Make sure you don't have / in the end. The web origin is under the OAuth 2.0 Client ID section in the Console. 回答2: I remove the '/' at the end of "Javascript Origins" url and solve. Example:

Google+ Domains API v1. Error 403 “Access not configured”

孤者浪人 提交于 2019-12-22 18:18:23
问题 I am starting to use the google+ API, but I am getting problems authenticating, even in the Google Playground. I want to do a very easy thing, which is get the circled people of my user, so, I use the scopes: /auth/plus.circles.read /auth/plus.me And I request with: https://www.googleapis.com/plusDomains/v1/people/me/circles In both Google PlayGround, and in the API page https://developers.google.com/+/domains/api/circles/list which allows you to test it, both of them give me the response: {

Google login does not show account picker for devices with single google accounts

痞子三分冷 提交于 2019-12-22 10:44:10
问题 I'm trying to implement google plus sign in for an android app. I followed the guide on the google developer page "https://developers.google.com/+/mobile/android/getting-started". My only problem is that when there's only one google account on the device, the account picker dialog does not show. Is there a way around this? 回答1: I used an AccountPicker as suggested by @acj. I start an AccountPicker intent Intent intent = AccountPicker.newChooseAccountIntent(null, null, new String[] { "com

What the setVisibleActivities method does?

£可爱£侵袭症+ 提交于 2019-12-22 08:57:51
问题 The typical initialization of a PlusClient instance for accessing Google Plus from an Android app is something like this: PlusClient mPlusClient = new PlusClient.Builder(this, this, this) .setVisibleActivities("http://schemas.google.com/AddActivity", "http://schemas.google.com/BuyActivity") .build(); I do not understand at all this method: http://developer.android.com/reference/com/google/android/gms/plus/PlusClient.Builder.html#setVisibleActivities(java.lang.String...) I do not know what are