c0debrain / socialauth

Automatically exported from code.google.com/p/socialauth
0 stars 0 forks source link

Importing Yahoo contacts only imports 20. #309

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How do i import all the contacts? Is there a max flag that i can set for yahoo?

Original issue reported on code.google.com by neelesh....@gmail.com on 28 Oct 2013 at 2:02

GoogleCodeExporter commented 9 years ago
I also noticed that your code has this URL for yahoo
private static final String CONTACTS_URL = 
"http://social.yahooapis.com/v1/user/%1$s/contacts;count=max";

The api states that count should be non negative integer ( 
"count  number  nonNegativeInteger  Number of contacts returned). Is that causing 
it to default and return 1st 20? Could this be fixed somehow?

Original comment by neelesh....@gmail.com on 28 Oct 2013 at 6:15

GoogleCodeExporter commented 9 years ago
Any update on this one?

Original comment by neelesh....@gmail.com on 6 Jan 2014 at 11:11

GoogleCodeExporter commented 9 years ago
We are using count=max which returns entire contact list.

Please have a look into the following URL

http://developer.yahoo.com/social/rest_api_guide/contacts-resource.html#contacts
_resources-query_params

Matrix Parameters Supported

If count is not specified, the Contacts API will return 10 contacts. To get the 
entire list of contacts, use count=max. 

Original comment by tarun.na...@3pillarglobal.com on 22 Jan 2014 at 12:23