0

I know i can use the People API to retrieve people connection

ListConnectionsResponse response = peopleService.people().connections().list("people/me").execute();
List<Person> connections = response.getConnections();

just as it is explain here

But i would love to retrieve list of friends that uses my app only. How can i retrieve only people connections that are using my app (my app users only)?

Community
  • 1
  • 1
Jude Ben
  • 7
  • 6

1 Answers1

0

You can't. The people.connections.list API doesn't support such a feature. You will have to query all contacts of a user (with their permission of course) and check them against your existing userbase.

abraham
  • 46,583
  • 10
  • 100
  • 152