google-plus

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

妖精的绣舞 提交于 2019-12-06 03:52:32
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? I used an AccountPicker as suggested by @acj. I start an AccountPicker intent Intent intent = AccountPicker.newChooseAccountIntent(null, null, new String[] { "com.google" }, true, null, null, null, null); startActivityForResult(intent, ACCOUNT_PICKER_REQUEST_CODE); and

Google plus followers in plain text

邮差的信 提交于 2019-12-06 03:51:09
问题 How to get google plus followers in plain text? JSON or XML https://developers.google.com/+/api/latest/people/get doesn't have followers field key. 回答1: Currently there is no way to get followers (or any circle information) from Google+ through the API. 回答2: You can do using API key, must sure Google plus followers visibility should be public try on fiddle: https://jsfiddle.net/himstar/j4932w0s/ var profileid = '100520061367519307358'; var apikey = 'AIzaSyAqlZ1MJSGXMSs8q5WbfvLpZTGJeHLVc2w';

INVALID_KEY message trying to authenticate through the Google+ Sign in Button

♀尐吖头ヾ 提交于 2019-12-06 03:29:02
问题 I am trying to authenticate the user following this gist by Ian Barber. The button asks for the user account, but it never gets to show the authorization dialog and instead exits with the message "An internal error ocurred". Logcat shows this: W/GLSUser ( 4353): Status from wire: INVALID_KEY status: null W/GLSUser ( 4353): Status from wire: INVALID_KEY status: null E/GLSUser ( 4353): Empty consent data I/GLSUser ( 4353): GLS error: INVALID_KEY icoloma@gmail.com oauth2:https://www.googleapis

Google plus integrating: Unable to load visible circles

走远了吗. 提交于 2019-12-06 03:21:55
问题 I want to get list of people info from google plus in my app: friends profile image URL, visible name and id. Here's an official google plus integrating tutorial. I make the test app by this tutorial and trapped on error: Error requesting visible circles: Status{statusCode=NETWORK_ERROR, resolution=null} Implementing the Google Api Client: mGoogleApiClient = new GoogleApiClient.Builder(this) .addConnectionCallbacks(this) .addOnConnectionFailedListener(this) .addApi(Plus.API, null) .addScope

How to fetch email addresses of Google plus circles (Friends added in Google plus circles)

╄→尐↘猪︶ㄣ 提交于 2019-12-06 02:57:50
问题 I am able to login with google plus and have fetch the list of all the people who are in my google plus circle but now i also want to get the email addresses of all people in my circle is there are way to do it? I have tried this code but it does not work. public void onPeopleLoaded(ConnectionResult status, final PersonBuffer personBuffer, String nextPageToken) { if (status.getErrorCode() == ConnectionResult.SUCCESS) { try { //Add all friends ids in an arraylist int count = personBuffer

Google+ signin button [class='g-signin']

不问归期 提交于 2019-12-06 02:55:43
问题 I am trying to make a google+ siginin button for my site. I went through this link https://developers.google.com/+/web/signin/#button_attributes and tried to make it working but now my styling is all messed up. I am not able to mess around with the [class='g-sinin'] in CSS. This is my code: <section class='login_G' > <span class='g-signin' data-callback='signinCallback' data-scope='https://www.googleapis.com/auth/plus.login'></span> </section> This is my css: .login_G { cursor: pointer;

Soundcloud API mobile OAUTH login using Google+ isn't working on Android

我只是一个虾纸丫 提交于 2019-12-06 02:34:42
I am working on an Android application that uses the mobile SoundCloud web auth page to log in to SoundCloud. The SoundCloud mobile web auth page provides you with three options for logging in, using SoundCloud, Facebook, or Google+. The interface looks like so: So far I can log in using my SoundCloud and my Facebook credentials but I fail when using Google+. Here's an abridged version of what I am doing: public class SoundCloudActivity extends Activity { ... @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.twitter_login

Can't publish a Hangout app (extension)

霸气de小男生 提交于 2019-12-06 01:31:20
问题 I've created a Google Hangout extension app, tested it works privately etc and now I'm trying to publish it. I have followed the instructions here: https://developers.google.com/+/hangouts/publishing I've filled in the forms correctly, created the O-Auth client ID, filled out the consent form etc. When I tick the Make this application public tickbox and try to save, a server error message pops up along the lines of: Server Error Whoops! Our bad. Please try again. If the problem persists,

onActivityResult code for both Facebook and Google+ Login in Android

纵饮孤独 提交于 2019-12-06 00:20:23
问题 The Facebook API code for login in Android is simple, with the method onActivityResult is protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); callbackManager.onActivityResult(requestCode, resultCode, data); } The documentation from Google says the code for the same method must be @Override public void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode

set text to google+ share button

こ雲淡風輕ζ 提交于 2019-12-06 00:03:48
问题 I'm creating a page which has a g+ share button, but I wanted to dynamically change the description of the content to share. to customize the share button I am using the snippet with Open Graph protocol. The solution I tried was the following, but it did not work correctly: <meta property="og:title" content="O Fabuloso Gerador De Lero Lero v3" /> <meta property="og:image" content="images/robot.png" /> <meta property="og:description" content="..." /> $('meta[property="og:description"]').attr(