Fetching Google plus user information

Hello All, 
I am working on  google plus integration in windows phone rt development using WebAuthenticationBroker.
I am successfully login but how i  will get the user information.
Please suggest  me as soon as possible.
Thanks & Regards Zakir Hussain

Just like the
MSDN Web Authentication Broker sample, you would need to issue a get to the respective google plus endpoint in order to get the user information.
- First ensure that you have added the scope "https://www.googleapis.com/auth/profile" during sign-in.
- Then issue the get to one of the endpoints after successful authentication:
https://www.googleapis.com/plus/v1/people/me?access_token=xxx
https://www.googleapis.com/plus/v1/people/me?access_token=xxx&alt=json
- Sample code:
//Request User info.
HttpClient httpClient = new HttpClient();
string response = await httpClient.GetStringAsync(new Uri("your_endpoint"));
JsonObject value = JsonValue.Parse(response).GetObject();
string googlePlusUserName = value.GetNamedString("name");
Hope this helps?
Abdulwahab Suleiman

Similar Messages

  • Safari and google plus site issues.

    Safari and google plus crashes when I go to the google plus website, but it works with my other browser apps. Help? I am using the mac retina display.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if Safari crashed, you would enter "Safari" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • How to open feedDialog or ShareDialog in facebook and Google Plus in Windows Store App 8.1

    I am developing a Store App in which I need to publish some message and image on user's profile. Using WebAuthenticationBroker I have
    allowed the user to login in both Google Plus and Facebook and it returns a token but then I want to open Feed Dialog. How can I achieve this? Using graph API or any other third party SDK?

    Hi RohitrkKumar,
    Per my understanding, the primary purpose of Web Authentication Broker is to avoid collecting credentials in client app and then transmitting those credentials over HTTP requests. But your requirement is to show facebook dialog, I think it is not related
    to
    WebAuthenticationBroker. You can get more information about share dialog from facebook site.
    https://developers.facebook.com/docs/sharing/reference/share-dialog?locale=zh_CN.
    If you still have questions, please post more information about your scenario.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • Custom reprot to get transfer user information in OIA 11g

    Hi ,
    As per my requirement we have to developed custom report for "*List of users who transferred to a new Direct Manager*" . To identify the transfer event we are using event listner in OIA 11g. Could you please provide me pointer how to fetch the transfer event in the query or what is the best way to get the transfer user information.
    Regards,
    Amit

    You're biggest problem is knowing which users get new managers.
    2 Ways on looking at this
    1 - Users associated to businessunits (different managers are associated to different businessunits)
    2 - The users attribute 'manager' gets updated
    Both situations don't withhold the information when associations or which attributes (and when) get updated other than the 'last updated' date gets updated.
    Possible solution - Create a new table (with the exact schema as the original table but without the constraints), copy all the information over from the original table to the new table, do the imports/updated. Once the updates are complete run a custom report and compare the difference between the old and new data
    If it's #1, you need to duplicate the rbacxservice.BU_globalusers table
    If it's #2, you need to duplicate the globalusers table
    Regards,
    Daniel

  • How to block email username in Google plus?

    I have a google plus account with multiple email accounts which is showing my first & last name to the public. How can I change full name in google plus ((like i did)) thru my mac mail in preference settings?

    What recipients see for mail messages send by you  is the information/name they have in their "contact" for the email address you use.
    Just how are you using Google Plus? Might be better to post in a Google form.
    To change the name displayed in Google stuff see that topic of:
    https://support.google.com/plus/answer/1355890?hl=en

  • People Picker JS Control not fetching all the users...

    Hi,
    I am using Java Script people picker control. It fetching information for users but not all. I used following code block to get the control working. Why is not fetching all the users?? Where as OOTB people picker fetches same user. This does not make sense.
    My environment is SharePoint online.  
    // Run your custom code when the DOM is ready.
    $(document).ready(function () {
    // Specify the unique ID of the DOM element where the
    // picker will render.
    initializePeoplePicker('peoplePickerDiv');
    // Render and initialize the client-side People Picker.
    function initializePeoplePicker(peoplePickerElementId) {
    // Create a schema to store picker properties, and set the properties.
    var schema = {};
    schema['PrincipalAccountType'] = 'User,DL,SecGroup,SPGroup';
    schema['SearchPrincipalSource'] = 15;
    schema['ResolvePrincipalSource'] = 15;
    schema['AllowMultipleValues'] = true;
    schema['MaximumEntitySuggestions'] = 50;
    schema['Width'] = '280px';
    // Render and initialize the picker.
    // Pass the ID of the DOM element that contains the picker, an array of initial
    // PickerEntity objects to set the picker value, and a schema that defines
    // picker properties.
    this.SPClientPeoplePicker_InitStandaloneControlWrapper(peoplePickerElementId, null, schema);
    Here is the link from Microsoft explaining it.
     How to: Use the client-side People Picker control in SharePoint-hosted apps: https://msdn.microsoft.com/en-us/library/office/jj713593.aspx
    Appreciate any help or workaround here.
    Thanks.

    Hi,
    In my case im usign customize people picker. it is better to use in delelopement since you have the control and customization.
    I have used select2 (https://select2.github.io/examples.html) drop down control and create a people picker
    You can use the same REST call to populate data.
    function initApproversPicker(success, fail) {
                var data = { results: [] };
                var executor = new SP.RequestExecutor($$.getAppWebUrlUrl());
                executor.executeAsync(
      url: $$.getAppWebUrlUrl() + "/_api/web/siteusers",
      method: "GET",
      contentType: "application/json;odata=verbose",
      headers: { "Accept": "application/json; odata=verbose" },
      success: function (dt) {
          $.each(JSON.parse(dt.body).d.results, function (i, ele) {
              data.results.push({ id: ele.Id, text: ele.Title });
          executor.executeAsync(
               url: $$.getAppWebUrlUrl() + "/_api/web/sitegroups",
               method: "GET",
               contentType: "application/json;odata=verbose",
               headers: { "Accept": "application/json; odata=verbose" },
               success: function (dt) {
                   $.each(JSON.parse(dt.body).d.results, function (i, ele) {
                       data.results.push({ id: ele.Id, text: ele.Title });
                   $("#WFApprovers").select2({ data: data, multiple: true });
                   if (success) {
                       success();
               error: function (d, errorCode, errorMessage) {
                   if (fail) {
                       fail();
                   utils.log(errorMessage);
      error: function (d, errorCode, errorMessage) {
          utils.log(errorMessage);
    Melick Rajee http://melick-rajee.blogspot.com

  • System Update 4 on Windows 7 64bit - An error occurred while gathering user information

    Dear all,
    I installed System Update 4 on Windows 7 64bit (X300 laptop) and keep getting "An error occurred while gathering user information" at about 9% of Searching for agent updates.
    I tried searching Google and this forum for possible solutions, but without much success. I would appreciate any help on this.
    Thanks in advance!

    Hi,
    in this situation try following:
    open registry:
    HKLM\Software\Wow6432Node\Software\Lenovo\System Update\Preferences\UCSettings\RunTime
    check if the informations are correct.
    In case not, then correct them.
    - Try to run TVSU as Administrator (right-click on it and select Run as Administrator)
    In case this will be of no use, then just go into the install folder of TVSU and there you will see the folder called "Logs". In there you will for sure find the exact information on what went wrong. Perhaps some proxy config, or just the server was unavailable.
    Cheers

  • Fetch all portal "user ids" belonging to perticular portal "group"

    Hi
    Is it possible to fetch all portal "user ids" belonging to perticular portal "group" ?
    Please Guide me to achive it !!
    Thanks & regards
    PK

    Perhaps this question would be better suited to the Portal Forum as it doesn't seem directly related to Web Dynpro ABAP. The WD Specific portal APIs only deal with navigation and eventing.  You would have to ask someone from Portal to see if they have a Web Service that exposes such information.

  • Obtaining remote user information for Medrec in Wls 10.3

    I am trying to get the remote user information by invoking the getRemoteUser() method on the following request object
    faces.context.MyHttpServletRequestWrapper
    from within the MedRec application. This has always worked in the past on previous versions of Weblogic and Medrec.
    Does anybody know what has changed in 10.3?
    I can fetch the ip and url from the same object successfully.
    thanks
    Mike

    I think error message tells everything you need to know.
    Please set in weblogic-ejb-jar.xml deployment descriptor because parameter object is not serializable.
    <enable-call-by-reference>True</enable-call-by-reference>
    With this it will allow to invoke EJB locally.
    jayesh@yagna

  • Google plus and Android calendar

    I've had a Droid Incredible 4 LTE for about a month.  I'm wondering why if I update my contacts in Google Plus on my PC it is not updating info in my phones contacts (ie. contacts addresses)

    I don't think there is a specific contact sync with G+, though if you have someone in your contact list who is also in one of your G+ circles, it should connect the two. Not sure how much additional information you get from that, though.

  • Sharepoint 2010: user information list Vs user profile

    I wrote code for getting user details based on username. I am fetching data from user profile using user profile service. But recently I came to know about "user information list" which stores same data as that of user profile.
    So, My question is which will be better choice : user profile service OR user information list to get user information ?

    User Information list has limitation, firstly its hidden, it can be viewed only administrators.
    Also you will face issue when you migrate your application to SharePoint 2013.
    If you want quick way of know who has permissions you can use this list, but sometime you may end up with outdated user profile(properties) information. 
    Better try to use User profile service wherever possible.
    there is another discussion on this topic here -
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/759d3c83-3fed-4bfc-a591-e88ca40e9407/sharepoint-user-information-list
    reference-http://www.sharepointchick.com/archive/2009/06/17/user-profiles-and-the-user-information-list-or-userinfo-table.aspx
    MCITP: SharePoint 2010 Administrator
    MCTS - MOSS 2007 Configuring, .NET 2.0
    | SharePoint Architect | Evangelist |
    http://www.sharepointdeveloper.in/
    http://ramakrishnaraja.blogspot.com/

  • Cannot gather user information

    When I click on the icon to open Photoshop Elements 9, it now "cannot gather user information," although it did before.  I have Plus and cannot access tutorials or share.  Thanks for any ideas.

    If you have already created your Adobe ID,
    Open Full Edit. Click on “Welcome, your name” on the menu bar then sign out.
    Then log back in again.
    That usually works.

  • Google Apps User Provisioning - Anyone integrating via Oracle? ... I am

    Currently I am developing against the Google Apps - User Provisioning 2.0 API and have developed most of the API functionality in a pl/sql package (all of the methods in the API document are implemented and tested except the "retrieval" actions: user [add, edit, delete], nickname [add, delete], email list [add, delete], and email list subscriber [add, delete]).
    Specifically, I am working with an educational client using SunGard HE's Banner (formerly SCT), and they'll be using Google Apps Education Edition for student email services.
    Just wondering how many people out there, edu or not, are developing against the Google Apps User Provisioning API?

    @rwendel can you please give me some direction to troubleshoot this issue.The participants in this thread are not active on the forum, and none of them has been alerted to your follow-up. Richard hasn't posted here for almost a year.
    Posting follow-ups to ancient threads/departed users is NOT an effective way of getting help:
    <li>Other users may ignore the thread as it appears to be closed
    <li>Your assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions
    <li>Watches on the thread may have expired, so the original participants may be unaware of the new post, or they may no longer be active on the forum
    <li>APEX Phone Test
    <li>You have no ability to mark posts as helpful or correct
    Post your question as a new thread, including the following information:
    <li>APEX version
    <li>DB version and edition
    <li>Web server architecture (EPG, OHS or APEX listener)
    <li>Browser(s) used
    <li>Theme
    <li>Templates
    <li>Region type
    <li>Links to related posts and threads using the methods in the FAQ.
    Also read the FAQ and forum sticky threads.

  • New Computer old user Information

    I was just given a Mac G3 Tower. And I am Trying to find out how to get rid of all the old user information. I am completely new to Macs. And going through the help menu is driving me insane.
    Thanks

    kingjoelking:
    Welcome to Apple Discussions and the wonderful world of Mac computing.
    You have two options:
    1. If you have the Panther install disks the best way to get rid of everything is to completely reformat and erase the HDD, then reinstall Panther. You will have a clean HDD and a fresh OS installation. Please post back for directions.
    2. If you have the Admin User password you can create a new admin account, log into the new account, then delete the old user Account. Here's how:
    - Boot computer and log in
    - Go to Apple Menu > System Preferences > Accounts
    - Click on lock, and authenticate with Password
    - Click the plus at the bottom of the list of Accounts to create new account.
    - Set up Account Name, password etc. Be sure you have a password you can remember.
    - Check box to allow user to administer computer.
    - Go to Apple menu and select log out user at bottom of drop down menu.
    - Log into the new user account just created.
    - Select old user Account in list
    - Click minus sign to delete account.
    - Choose to delete account and accompanying data.
    You now have your own user account, password, and the old User Account and associated data is no more.
    Please do post back should you have further questions or comments.
    Cheers
    cornelius

  • Getting Logged on User'Information in an Oracle-Form SSO Partner Application

    Hi.
    I could run Flight-of Fancy Application and capture user's information by calling the
    "Parse_cookie " Procedure.(use the Scenario 2 - Access the Portal and then the FOF App)
    and defined an Oracle-Form application as Partner application like FOF.
    I want to have Logged on user'Information in the "Oracle-Form" . But the Fucntion owa_cookie.get dosen't work correctly.please let me know what can I do ?
    Thanks in advanced.

    Hi.
    I could run Flight-of Fancy Application and capture user's information by calling the
    "Parse_cookie " Procedure.(use the Scenario 2 - Access the Portal and then the FOF App)
    and defined an Oracle-Form application as Partner application like FOF.
    I want to have Logged on user'Information in the "Oracle-Form" . But the Fucntion owa_cookie.get dosen't work correctly.please let me know what can I do ?
    Thanks in advanced. If you're writing your own partner application, then you are correct to get the user information from the output variables
    from the parse_url_cookie procedure. You should then set the information you want to keep track of in the cookie, or combination
    of cookie and persistent storage in the database. Take care of the security implications while doing this.
    On subsequent calls to your application, the user info should be obtained from the cookie and the database, if you
    are using a combination of the cookie and database storage to keep your info.
    The owa_cookie.get routine is used to read the cookie, which is generated with owa_cookie.send.
    These routines work fine, when invoked correctly.
    If you are having trouble with them, you're probably not using the calls properly.
    The following code provides an example of how to use the owa_cookie calls...
    create or replace package testcookie
    is
        procedure show (p_name IN VARCHAR2);
        procedure send
            p_name    IN VARCHAR2,
            p_value   IN VARCHAR2,
            p_path    IN VARCHAR2 default null,
            p_expires IN VARCHAR2 default null
    end testcookie;
    show error package testcookie
    create or replace package body testcookie is
        procedure show (p_name IN VARCHAR2) is
            v_cookie owa_cookie.cookie;
        begin
            v_cookie := owa_cookie.get(upper(p_name));
            htp.htmlopen;
            htp.bodyopen;
            htp.print(v_cookie.vals(1));
            htp.bodyclose;
            htp.htmlclose;
        exception
            when others then
                htp.htmlopen;
                htp.bodyopen;
                htp.print('NO COOKIE FOUND.');
                htp.print(SQLERRM);
                htp.bodyclose;
                htp.htmlclose;
        end;
        procedure send
            p_name    IN VARCHAR2,
            p_value   IN VARCHAR2,
            p_path    IN VARCHAR2 default null,
            p_expires IN VARCHAR2 default null
        is
            v_cookie owa_cookie.cookie;
            l_agent varchar2(30);
            l_expires varchar2(30);
            l_path varchar2(100);
        begin
            if p_expires is null then
                l_expires := null;
            else
               l_expires := to_date(p_expires, 'MMDDYYYY');
            end if;
            if p_path = 'ALL' then
                l_path := '/';
            else
                l_path := null;
            end if;
            owa_util.mime_header('text/html', FALSE);
            l_agent := owa_util.get_owa_service_path;
            l_agent := substr(l_agent, 1, length(l_agent) - 1 ) ;
            owa_cookie.send(
                name    => upper(p_name),
                value   => p_value,
                expires => l_expires,
                path    => l_path
            owa_util.http_header_close;
            htp.htmlopen;
            htp.headopen;
            htp.headclose;
            htp.bodyopen;
            htp.print ('Cookie set.');
            htp.bodyclose;
            htp.htmlclose;
        end;
    end testcookie;
    show error package body testcookie;
    grant execute on testcookie to public;If you load this into a schema which a DAD can access, then you can invoke the show and send procedures to view and
    generate cookies.
    To generate a cookie, issue the following from your browser ...
    http://server.domain.com/pls/dad/schema.testcookies.send?p_name=test&p_value=hello
    To view the cookie:
    http://server.domain.com/pls/dad/schema.testcookies.show?p_name=test

Maybe you are looking for