Alterplay / APAddressBook

Easy access to iOS address book
MIT License
1.38k stars 193 forks source link

How can I get google id (social type id) #170

Closed Ilesh closed 6 years ago

Ilesh commented 6 years ago

I sync my google contact with my phone book id and display all the contact in the phonebook. How Can I bifurcation of which is my google contact and others? If you give me any solution it would be great. Thanks for your help.

belkevich commented 6 years ago

I don't think it's possible to determine is contact from iphone contacts or from google contacts. But you can try this: 1) Filter contacts, that have been created after date you sync with google (most of the contacts should be from google) 2) Filter contacts, that have social profile type 'google' See README to get more information about filtering

Ilesh commented 6 years ago

I need google id (Source_Id) of the contacts, Any way to find the google contact id for my address book contact? in Android possible for this way (https://stackoverflow.com/a/26708378/2910061)

belkevich commented 6 years ago

Sorry, I don't understand you right at first time. I've checked types of supported social networks. And unfortunately, there is no support for google in social profiles of iphone contacts.

Ilesh commented 6 years ago

Okay @belkevich, If you find anything regarding this, please let me know. Thanks for your time.

belkevich commented 6 years ago

You are welcome