graph.facebook.com/username does not work












10















I tried to get user detail using https://graph.facebook.com/username . But it throws an error



    "error": {
"message": "(#803) Cannot query users by their username (ramesh.randika.56)",
"type": "OAuthException",
"code": 803
}


does anybody have a solution for this problem.










share|improve this question

























  • possible duplicate of Facebook Graph API v2.1: getting user id and his posts

    – cygery
    Jun 16 '15 at 12:58











  • It says it right there already: Cannot query users by their username The field username was removed with API v2 – your app is not supposed to get information about arbitrary users any more.

    – CBroe
    Jun 16 '15 at 13:00











  • @cygery He can't use the suggested solution anymore, because v1.0 is gone.

    – Tobi
    Jun 16 '15 at 13:06











  • @cygery not a duplicate. I just want to try this on my browser graph.facebook.com/username/picture?width=800

    – ramesh
    Jun 16 '15 at 14:47













  • @ramesh This doesn't work anymore

    – Tobi
    Jun 16 '15 at 14:57
















10















I tried to get user detail using https://graph.facebook.com/username . But it throws an error



    "error": {
"message": "(#803) Cannot query users by their username (ramesh.randika.56)",
"type": "OAuthException",
"code": 803
}


does anybody have a solution for this problem.










share|improve this question

























  • possible duplicate of Facebook Graph API v2.1: getting user id and his posts

    – cygery
    Jun 16 '15 at 12:58











  • It says it right there already: Cannot query users by their username The field username was removed with API v2 – your app is not supposed to get information about arbitrary users any more.

    – CBroe
    Jun 16 '15 at 13:00











  • @cygery He can't use the suggested solution anymore, because v1.0 is gone.

    – Tobi
    Jun 16 '15 at 13:06











  • @cygery not a duplicate. I just want to try this on my browser graph.facebook.com/username/picture?width=800

    – ramesh
    Jun 16 '15 at 14:47













  • @ramesh This doesn't work anymore

    – Tobi
    Jun 16 '15 at 14:57














10












10








10


2






I tried to get user detail using https://graph.facebook.com/username . But it throws an error



    "error": {
"message": "(#803) Cannot query users by their username (ramesh.randika.56)",
"type": "OAuthException",
"code": 803
}


does anybody have a solution for this problem.










share|improve this question
















I tried to get user detail using https://graph.facebook.com/username . But it throws an error



    "error": {
"message": "(#803) Cannot query users by their username (ramesh.randika.56)",
"type": "OAuthException",
"code": 803
}


does anybody have a solution for this problem.







facebook facebook-graph-api web web-scraping






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 16 '15 at 14:40







ramesh

















asked Jun 16 '15 at 12:55









rameshramesh

61114




61114













  • possible duplicate of Facebook Graph API v2.1: getting user id and his posts

    – cygery
    Jun 16 '15 at 12:58











  • It says it right there already: Cannot query users by their username The field username was removed with API v2 – your app is not supposed to get information about arbitrary users any more.

    – CBroe
    Jun 16 '15 at 13:00











  • @cygery He can't use the suggested solution anymore, because v1.0 is gone.

    – Tobi
    Jun 16 '15 at 13:06











  • @cygery not a duplicate. I just want to try this on my browser graph.facebook.com/username/picture?width=800

    – ramesh
    Jun 16 '15 at 14:47













  • @ramesh This doesn't work anymore

    – Tobi
    Jun 16 '15 at 14:57



















  • possible duplicate of Facebook Graph API v2.1: getting user id and his posts

    – cygery
    Jun 16 '15 at 12:58











  • It says it right there already: Cannot query users by their username The field username was removed with API v2 – your app is not supposed to get information about arbitrary users any more.

    – CBroe
    Jun 16 '15 at 13:00











  • @cygery He can't use the suggested solution anymore, because v1.0 is gone.

    – Tobi
    Jun 16 '15 at 13:06











  • @cygery not a duplicate. I just want to try this on my browser graph.facebook.com/username/picture?width=800

    – ramesh
    Jun 16 '15 at 14:47













  • @ramesh This doesn't work anymore

    – Tobi
    Jun 16 '15 at 14:57

















possible duplicate of Facebook Graph API v2.1: getting user id and his posts

– cygery
Jun 16 '15 at 12:58





possible duplicate of Facebook Graph API v2.1: getting user id and his posts

– cygery
Jun 16 '15 at 12:58













It says it right there already: Cannot query users by their username The field username was removed with API v2 – your app is not supposed to get information about arbitrary users any more.

– CBroe
Jun 16 '15 at 13:00





It says it right there already: Cannot query users by their username The field username was removed with API v2 – your app is not supposed to get information about arbitrary users any more.

– CBroe
Jun 16 '15 at 13:00













@cygery He can't use the suggested solution anymore, because v1.0 is gone.

– Tobi
Jun 16 '15 at 13:06





@cygery He can't use the suggested solution anymore, because v1.0 is gone.

– Tobi
Jun 16 '15 at 13:06













@cygery not a duplicate. I just want to try this on my browser graph.facebook.com/username/picture?width=800

– ramesh
Jun 16 '15 at 14:47







@cygery not a duplicate. I just want to try this on my browser graph.facebook.com/username/picture?width=800

– ramesh
Jun 16 '15 at 14:47















@ramesh This doesn't work anymore

– Tobi
Jun 16 '15 at 14:57





@ramesh This doesn't work anymore

– Tobi
Jun 16 '15 at 14:57












3 Answers
3






active

oldest

votes


















9














graph.facebook.com/{Username} is not avaiable now but lookup-id.com still can find your facebook ID, facebook group ID and facebook page ID






share|improve this answer



















  • 3





    Any Idea how does this website works as now the API support support has been withdrawn?

    – coder
    Jun 17 '15 at 16:34











  • When I try that site I get: "Unable to lookup. Note that the system just response for Open Group". So it seems that they have cached data if you looked it up before but if you look up something new they have no idea what the id is.

    – WizKid
    Jun 17 '15 at 17:50











  • @WizKid sometimes i receive it too then i try again it is ok

    – Trần Văn Thuận
    Jun 18 '15 at 1:49



















1














The username field was removed with the introduction of the Graph API v2.0.



See




  • https://developers.facebook.com/docs/apps/changelog#v2_0



/me/username is no longer available.







share|improve this answer
























  • it worked 2 days ago

    – ramesh
    Jun 16 '15 at 14:39











  • All applications currently get switched to v2.0, and there's nothing you can do about it. It's not coming back.

    – Tobi
    Jun 16 '15 at 14:56













  • ok thanks for explanation

    – ramesh
    Jun 16 '15 at 14:59






  • 1





    @coder yes. I have the same problem

    – ramesh
    Jun 18 '15 at 12:13






  • 1





    lookup-id.com no longer works. At least for all the profile urls I tried.

    – Tobi
    Jun 18 '15 at 12:36



















1














"View page source" Option in every web browser will help you.
Follow this-




  1. Open the timeline of that person/FB account.


  2. Right-click anywhere on the web-page->View page Source-> wait 1 or 2 seconds to load the new page.


  3. Press Ctrl+f (used to find any string,word in the page) then type " profile_id= " (without quotes).

  4. Copy the long number after " = ", .


Conclusion : Using the "username" doesn't work anymore (Updated till Oct 2018),profile_id is the thing u needed instead.






share|improve this answer

























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f30868201%2fgraph-facebook-com-username-does-not-work%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    9














    graph.facebook.com/{Username} is not avaiable now but lookup-id.com still can find your facebook ID, facebook group ID and facebook page ID






    share|improve this answer



















    • 3





      Any Idea how does this website works as now the API support support has been withdrawn?

      – coder
      Jun 17 '15 at 16:34











    • When I try that site I get: "Unable to lookup. Note that the system just response for Open Group". So it seems that they have cached data if you looked it up before but if you look up something new they have no idea what the id is.

      – WizKid
      Jun 17 '15 at 17:50











    • @WizKid sometimes i receive it too then i try again it is ok

      – Trần Văn Thuận
      Jun 18 '15 at 1:49
















    9














    graph.facebook.com/{Username} is not avaiable now but lookup-id.com still can find your facebook ID, facebook group ID and facebook page ID






    share|improve this answer



















    • 3





      Any Idea how does this website works as now the API support support has been withdrawn?

      – coder
      Jun 17 '15 at 16:34











    • When I try that site I get: "Unable to lookup. Note that the system just response for Open Group". So it seems that they have cached data if you looked it up before but if you look up something new they have no idea what the id is.

      – WizKid
      Jun 17 '15 at 17:50











    • @WizKid sometimes i receive it too then i try again it is ok

      – Trần Văn Thuận
      Jun 18 '15 at 1:49














    9












    9








    9







    graph.facebook.com/{Username} is not avaiable now but lookup-id.com still can find your facebook ID, facebook group ID and facebook page ID






    share|improve this answer













    graph.facebook.com/{Username} is not avaiable now but lookup-id.com still can find your facebook ID, facebook group ID and facebook page ID







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jun 17 '15 at 5:43









    Trần Văn ThuậnTrần Văn Thuận

    1484




    1484








    • 3





      Any Idea how does this website works as now the API support support has been withdrawn?

      – coder
      Jun 17 '15 at 16:34











    • When I try that site I get: "Unable to lookup. Note that the system just response for Open Group". So it seems that they have cached data if you looked it up before but if you look up something new they have no idea what the id is.

      – WizKid
      Jun 17 '15 at 17:50











    • @WizKid sometimes i receive it too then i try again it is ok

      – Trần Văn Thuận
      Jun 18 '15 at 1:49














    • 3





      Any Idea how does this website works as now the API support support has been withdrawn?

      – coder
      Jun 17 '15 at 16:34











    • When I try that site I get: "Unable to lookup. Note that the system just response for Open Group". So it seems that they have cached data if you looked it up before but if you look up something new they have no idea what the id is.

      – WizKid
      Jun 17 '15 at 17:50











    • @WizKid sometimes i receive it too then i try again it is ok

      – Trần Văn Thuận
      Jun 18 '15 at 1:49








    3




    3





    Any Idea how does this website works as now the API support support has been withdrawn?

    – coder
    Jun 17 '15 at 16:34





    Any Idea how does this website works as now the API support support has been withdrawn?

    – coder
    Jun 17 '15 at 16:34













    When I try that site I get: "Unable to lookup. Note that the system just response for Open Group". So it seems that they have cached data if you looked it up before but if you look up something new they have no idea what the id is.

    – WizKid
    Jun 17 '15 at 17:50





    When I try that site I get: "Unable to lookup. Note that the system just response for Open Group". So it seems that they have cached data if you looked it up before but if you look up something new they have no idea what the id is.

    – WizKid
    Jun 17 '15 at 17:50













    @WizKid sometimes i receive it too then i try again it is ok

    – Trần Văn Thuận
    Jun 18 '15 at 1:49





    @WizKid sometimes i receive it too then i try again it is ok

    – Trần Văn Thuận
    Jun 18 '15 at 1:49













    1














    The username field was removed with the introduction of the Graph API v2.0.



    See




    • https://developers.facebook.com/docs/apps/changelog#v2_0



    /me/username is no longer available.







    share|improve this answer
























    • it worked 2 days ago

      – ramesh
      Jun 16 '15 at 14:39











    • All applications currently get switched to v2.0, and there's nothing you can do about it. It's not coming back.

      – Tobi
      Jun 16 '15 at 14:56













    • ok thanks for explanation

      – ramesh
      Jun 16 '15 at 14:59






    • 1





      @coder yes. I have the same problem

      – ramesh
      Jun 18 '15 at 12:13






    • 1





      lookup-id.com no longer works. At least for all the profile urls I tried.

      – Tobi
      Jun 18 '15 at 12:36
















    1














    The username field was removed with the introduction of the Graph API v2.0.



    See




    • https://developers.facebook.com/docs/apps/changelog#v2_0



    /me/username is no longer available.







    share|improve this answer
























    • it worked 2 days ago

      – ramesh
      Jun 16 '15 at 14:39











    • All applications currently get switched to v2.0, and there's nothing you can do about it. It's not coming back.

      – Tobi
      Jun 16 '15 at 14:56













    • ok thanks for explanation

      – ramesh
      Jun 16 '15 at 14:59






    • 1





      @coder yes. I have the same problem

      – ramesh
      Jun 18 '15 at 12:13






    • 1





      lookup-id.com no longer works. At least for all the profile urls I tried.

      – Tobi
      Jun 18 '15 at 12:36














    1












    1








    1







    The username field was removed with the introduction of the Graph API v2.0.



    See




    • https://developers.facebook.com/docs/apps/changelog#v2_0



    /me/username is no longer available.







    share|improve this answer













    The username field was removed with the introduction of the Graph API v2.0.



    See




    • https://developers.facebook.com/docs/apps/changelog#v2_0



    /me/username is no longer available.








    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jun 16 '15 at 13:07









    TobiTobi

    29.1k74280




    29.1k74280













    • it worked 2 days ago

      – ramesh
      Jun 16 '15 at 14:39











    • All applications currently get switched to v2.0, and there's nothing you can do about it. It's not coming back.

      – Tobi
      Jun 16 '15 at 14:56













    • ok thanks for explanation

      – ramesh
      Jun 16 '15 at 14:59






    • 1





      @coder yes. I have the same problem

      – ramesh
      Jun 18 '15 at 12:13






    • 1





      lookup-id.com no longer works. At least for all the profile urls I tried.

      – Tobi
      Jun 18 '15 at 12:36



















    • it worked 2 days ago

      – ramesh
      Jun 16 '15 at 14:39











    • All applications currently get switched to v2.0, and there's nothing you can do about it. It's not coming back.

      – Tobi
      Jun 16 '15 at 14:56













    • ok thanks for explanation

      – ramesh
      Jun 16 '15 at 14:59






    • 1





      @coder yes. I have the same problem

      – ramesh
      Jun 18 '15 at 12:13






    • 1





      lookup-id.com no longer works. At least for all the profile urls I tried.

      – Tobi
      Jun 18 '15 at 12:36

















    it worked 2 days ago

    – ramesh
    Jun 16 '15 at 14:39





    it worked 2 days ago

    – ramesh
    Jun 16 '15 at 14:39













    All applications currently get switched to v2.0, and there's nothing you can do about it. It's not coming back.

    – Tobi
    Jun 16 '15 at 14:56







    All applications currently get switched to v2.0, and there's nothing you can do about it. It's not coming back.

    – Tobi
    Jun 16 '15 at 14:56















    ok thanks for explanation

    – ramesh
    Jun 16 '15 at 14:59





    ok thanks for explanation

    – ramesh
    Jun 16 '15 at 14:59




    1




    1





    @coder yes. I have the same problem

    – ramesh
    Jun 18 '15 at 12:13





    @coder yes. I have the same problem

    – ramesh
    Jun 18 '15 at 12:13




    1




    1





    lookup-id.com no longer works. At least for all the profile urls I tried.

    – Tobi
    Jun 18 '15 at 12:36





    lookup-id.com no longer works. At least for all the profile urls I tried.

    – Tobi
    Jun 18 '15 at 12:36











    1














    "View page source" Option in every web browser will help you.
    Follow this-




    1. Open the timeline of that person/FB account.


    2. Right-click anywhere on the web-page->View page Source-> wait 1 or 2 seconds to load the new page.


    3. Press Ctrl+f (used to find any string,word in the page) then type " profile_id= " (without quotes).

    4. Copy the long number after " = ", .


    Conclusion : Using the "username" doesn't work anymore (Updated till Oct 2018),profile_id is the thing u needed instead.






    share|improve this answer






























      1














      "View page source" Option in every web browser will help you.
      Follow this-




      1. Open the timeline of that person/FB account.


      2. Right-click anywhere on the web-page->View page Source-> wait 1 or 2 seconds to load the new page.


      3. Press Ctrl+f (used to find any string,word in the page) then type " profile_id= " (without quotes).

      4. Copy the long number after " = ", .


      Conclusion : Using the "username" doesn't work anymore (Updated till Oct 2018),profile_id is the thing u needed instead.






      share|improve this answer




























        1












        1








        1







        "View page source" Option in every web browser will help you.
        Follow this-




        1. Open the timeline of that person/FB account.


        2. Right-click anywhere on the web-page->View page Source-> wait 1 or 2 seconds to load the new page.


        3. Press Ctrl+f (used to find any string,word in the page) then type " profile_id= " (without quotes).

        4. Copy the long number after " = ", .


        Conclusion : Using the "username" doesn't work anymore (Updated till Oct 2018),profile_id is the thing u needed instead.






        share|improve this answer















        "View page source" Option in every web browser will help you.
        Follow this-




        1. Open the timeline of that person/FB account.


        2. Right-click anywhere on the web-page->View page Source-> wait 1 or 2 seconds to load the new page.


        3. Press Ctrl+f (used to find any string,word in the page) then type " profile_id= " (without quotes).

        4. Copy the long number after " = ", .


        Conclusion : Using the "username" doesn't work anymore (Updated till Oct 2018),profile_id is the thing u needed instead.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 27 '18 at 5:31

























        answered Oct 15 '18 at 11:58









        knightknight

        1313




        1313






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f30868201%2fgraph-facebook-com-username-does-not-work%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Contact image not getting when fetch all contact list from iPhone by CNContact

            count number of partitions of a set with n elements into k subsets

            A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks