[GH-ISSUE #237] Gmail contacts fix with max-results and Issue with national characters #201

Closed
opened 2026-02-25 21:34:25 +03:00 by kerem · 6 comments
Owner

Originally created by @szilardx on GitHub (Dec 6, 2017).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/237

Originally assigned to: @jasonmunro on GitHub.

I finally had time to debug my gmail contacts issue.
I was missing some contacts, so I tested the Google Contacts API with Postman.
I was missing some contacts there too, so I found out that to retreive all contacts, you might have to use max-results parameter. https://stackoverflow.com/questions/23960122/google-contacts-api-not-getting-all-contacts

https://developers.google.com/google-apps/contacts/v3/#retrieving_all_contacts

I appended ?max-results=500 to
github.com/jasonmunro/cypht@de5f5082df/modules/gmail_contacts/modules.php (L83)

And it works. I was able to get the missing contacts in Cypht.

I also realized, that some of my contacts name is broken due to national characters being present in their contact name. Sometimes the contact name is simply missing the part after the national character. Sorry for being this national character guy.

Thank you for your work! 👍

Originally created by @szilardx on GitHub (Dec 6, 2017). Original GitHub issue: https://github.com/cypht-org/cypht/issues/237 Originally assigned to: @jasonmunro on GitHub. I finally had time to debug my gmail contacts issue. I was missing some contacts, so I tested the Google Contacts API with Postman. I was missing some contacts there too, so I found out that to retreive all contacts, you might have to use max-results parameter. https://stackoverflow.com/questions/23960122/google-contacts-api-not-getting-all-contacts https://developers.google.com/google-apps/contacts/v3/#retrieving_all_contacts I appended ?max-results=500 to https://github.com/jasonmunro/cypht/blob/de5f5082dfeb27dad7a28278eef7f95c77c44e64/modules/gmail_contacts/modules.php#L83 And it works. I was able to get the missing contacts in Cypht. I also realized, that some of my contacts name is broken due to national characters being present in their contact name. Sometimes the contact name is simply missing the part after the national character. Sorry for being this national character guy. Thank you for your work! 👍
kerem 2026-02-25 21:34:25 +03:00
Author
Owner

@jasonmunro commented on GitHub (Dec 6, 2017):

I'm glad your the national character guy! I will check this out, thanks for the info

<!-- gh-comment-id:349742822 --> @jasonmunro commented on GitHub (Dec 6, 2017): I'm glad your the national character guy! I will check this out, thanks for the info
Author
Owner

@jasonmunro commented on GitHub (Dec 6, 2017):

@szilardx just pushed a test fix, and I added the max results of 500. Let me know if it's any better for you!

<!-- gh-comment-id:349755364 --> @jasonmunro commented on GitHub (Dec 6, 2017): @szilardx just pushed a test fix, and I added the max results of 500. Let me know if it's any better for you!
Author
Owner

@szilardx commented on GitHub (Dec 6, 2017):

@jasonmunro Thank you very much!
I have no missing contacts and all characters are okay! 👍

<!-- gh-comment-id:349771290 --> @szilardx commented on GitHub (Dec 6, 2017): @jasonmunro Thank you very much! I have no missing contacts and all characters are okay! 👍
Author
Owner

@jasonmunro commented on GitHub (Dec 6, 2017):

Awesome!

<!-- gh-comment-id:349771892 --> @jasonmunro commented on GitHub (Dec 6, 2017): Awesome!
Author
Owner

@dumblob commented on GitHub (Dec 7, 2017):

...I added the max results of 500.

@jasonmunro is this a hard limit? Because I myself have over 1000 contacts and I'm certain I'm not alone. Is there a solution which does not constrain the number of contacts?

<!-- gh-comment-id:350086851 --> @dumblob commented on GitHub (Dec 7, 2017): >...I added the max results of 500. @jasonmunro is this a hard limit? Because I myself have over 1000 contacts and I'm certain I'm not alone. Is there a solution which does not constrain the number of contacts?
Author
Owner

@jasonmunro commented on GitHub (Dec 8, 2017):

@dumblob lets make this an option, I will file a new ticket for that

<!-- gh-comment-id:350374224 --> @jasonmunro commented on GitHub (Dec 8, 2017): @dumblob lets make this an option, I will file a new ticket for that
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#201
No description provided.