google-plus

Share in Google+

断了今生、忘了曾经 提交于 2019-12-07 18:33:49
问题 I need share link in Google+ from Android app. In documentation I saw this code: Button shareButton = (Button) findViewById(R.id.share_button); shareButton.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // Launch the Google+ share dialog with attribution. Intent shareIntent = ShareCompat.IntentBuilder.from(ExampleActivity.this) .setType("text/plain") .setText("Welcome to the Google+ platform. https://developers.google.com/+") .getIntent() .setPackage("com

How post Image and Link URL in Google Plus from Android Application?

有些话、适合烂在心里 提交于 2019-12-07 16:29:00
问题 i have try to post Image from server and link URL both in google plus from android application.. but i can't post both in google plus.. i have try this code to post.. Intent shareIntent = new PlusShare.Builder(GooglePlusActivity.this) .setType("text/plain") .setText("Welcome to the Google+ platform....") .setContentDeepLinkId("/cheesecake/lemon", "Lemon Cheesecake recipe", "A tasty recipe for making lemon cheesecake.", Uri.parse("http://www.onedigital.mx/ww3/wp-content/uploads/2012/02/android

Google Plus Sign In Account Selection Dialog Issue

一世执手 提交于 2019-12-07 12:53:45
问题 BACKGROUND I am using Google Plus OAuth in my app along with Firebase. When the user taps the sign in button, and account selection dialog appears and the user selects the particular account of choice and signs in. PROBLEM Suppose the user has two accounts in that device, A and B. Initially, he selects account A to sign in and then uses the app and then decides to sign out. Now he clicks the sign in button again, but the account selection dialog doesn't appear and it automatically signs in

Error fetching OAuth2 access token : 500 Error

江枫思渺然 提交于 2019-12-07 12:35:19
问题 I am being randomly bugged by the following error message: This occurs when php library tries to obtain the access token line 112. Sometimes my code obtains access token in first try, sometimes I need to refresh the URL containing 'code' as get parameter multiple times before access token is obtained. This error is coming frequently for last 3-4 days. Fatal error: Uncaught exception 'apiAuthException' with message 'Error fetching OAuth2 access token, message: '<HTML> <HEAD> <TITLE>Error

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

走远了吗. 提交于 2019-12-07 11:55:36
问题 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

Unsupported content with type: multipart/form-data in google plus api oauth2

一个人想着一个人 提交于 2019-12-07 11:38:41
问题 I am trying to sign in with google plus Api in my web app. I searched on it from https://developers.google.com/oauthplayground/https://developers.google.com/oauthplayground/ and I applied them. When I request to https://www.googleapis.com/oauth2/v3/token , it returns { "error": "internal_failure", "error_description": "Unsupported content with type: multipart/form-data; boundary=----------------------------5dd1639f2986" } I am putting my code snippets which are doing the request (as client id

Removing applications from Google+ Manage Apps page

大兔子大兔子 提交于 2019-12-07 10:31:28
问题 I can't see any way to delete apps from the G+ Manage Apps page. I can disconnect there, or revoke access from the Google OAuth authorized apps page, but I can't see any option to remove it altogether. 回答1: Disconnecting using the Google+ Apps page will let you remove all the activities associated with the app, and will revoke access to your information to the app in question. It should also delete it from the list. Update For the record, this link currently redirects to https://myaccount

How To Access a User Circle in Google+ Using Google+ API

早过忘川 提交于 2019-12-07 08:41:23
I am trying to access/or check to see if a user has a certain page in his/her circle. I don't know for sure if there is a way to do that with the current Google+ API. Google has this endpoint for fetching people: GET https://www.googleapis.com/plus/v1/people/userId/people/collection //which you replace with either: GET https://www.googleapis.com/plus/v1/people/me/people/visible or GET https://www.googleapis.com/plus/v1/people/me/people/connected It seems these are the only closest endpoints for me. Is there a way to achieve this? I already ask the user to let grant the app permissions to see

disable automatic authentication for Google+ social sign-in

一曲冷凌霜 提交于 2019-12-07 07:23:48
问题 I'm looking for a way to avoid the user to be automatically authenticated in my web app when he refreshes a page. For example, the user connects to my web app using his Google+ account and uses the app for a while. Later, when he comes back, I want the app to ask him to click the login button again, instead of automatically recognizing him as already authenticated. With Facebook, I'm able to set the status property to false when calling FB.init() , so that it will not automatically