Uploaded image for project: 'Spring Social Facebook'
  1. Spring Social Facebook
  2. SOCIALFB-155

How to get total friends count for a user having already granted user_friends permission

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 2.0.0.RC1
    • Component/s: None
    • Labels:
      None

      Description

      How to get total friends count for a user having already granted user_friends permission.

      Presently FB has a grapAPI https://developers.facebook.com/docs/graph-api/reference/v2.0/user/friends

      /

      {user-id}

      /friends which would return the friend as well as the summary has total number of friend count. But i dont see that in the Spring API.

      {
      "data": [

      { "name": "ABC", "id": "42342" }

      ,

      { "name": "XYZ", "id": "7654" }

      ],
      "paging":

      { "next": "https://graph.facebook.com/v2.0/XYZ/friends?limit=5000&offset=5000&__after_id=enc_AeyVCiiHaATC6mj0_e_W4MFef-klRGoZh9AmPQvx" }

      ,
      "summary":

      { "total_count": 330 }

      }

        Attachments

          Activity

            People

            Assignee:
            habuma Craig Walls
            Reporter:
            venureddy venureddy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: