0

Limit to number of contacts retrieved?

Hello,
For each api query, is there a limit of around 50 contacts that can be retrieved?
I am trying to send a query without any search criteria. This should retrieve all contacts, according to the docs.
But I get only 50 contacts per query.
(I understand there is a limit of 5000 queries per day per IP account.)
Thanks,
Ramesh

by
5 Replies
  • Hi Ramesh,

    Just to follow up on your message, I was wondering if you could provide more details on what you're doing exactly. Are you using YQL to capture contact information and that's what's giving you a maximum of 50 contacts, or are you using the getContacts method in the PHP SDK to capture the contacts?

    If you are using the PHP SDK getContacts method, there are a few parameters you may have to set in order to return all contacts. That was addressed in this post: http://developer.yahoo.net/forum/index.php?showtopic=622

    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network

    QUOTE (sramesh71 @ Jan 16 2009, 12:08 PM) <{POST_SNAPBACK}>
    Hello,
    For each api query, is there a limit of around 50 contacts that can be retrieved?
    I am trying to send a query without any search criteria. This should retrieve all contacts, according to the docs.
    But I get only 50 contacts per query.
    (I understand there is a limit of 5000 queries per day per IP account.)
    Thanks,
    Ramesh
    0
  • Hello Jonathan,
    I am using Ruby on Rails and following the steps outlined here:
    http://developer.yahoo.net/blog/archives/2...he_yahoo_1.html
    I don't think this uses YQL, but not sure.
    Thanks a lot,
    Ramesh

    QUOTE (Jon @ Jan 20 2009, 11:57 AM) <{POST_SNAPBACK}>
    Hi Ramesh,

    Just to follow up on your message, I was wondering if you could provide more details on what you're doing exactly. Are you using YQL to capture contact information and that's what's giving you a maximum of 50 contacts, or are you using the getContacts method in the PHP SDK to capture the contacts?

    If you are using the PHP SDK getContacts method, there are a few parameters you may have to set in order to return all contacts. That was addressed in this post: http://developer.yahoo.net/forum/index.php?showtopic=622

    Jonathan LeBlanc
    Senior Software Engineer
    Yahoo! Developer Network
    0
  • Nope I was thinking you were collecting the data from a different source. I'll send this message on to some of the developers who may be able to give you a hand.

    - Jon

    QUOTE (sramesh71 @ Jan 25 2009, 06:11 AM) <{POST_SNAPBACK}>
    Hello Jonathan,
    I am using Ruby on Rails and following the steps outlined here:
    http://developer.yahoo.net/blog/archives/2...he_yahoo_1.html
    I don't think this uses YQL, but not sure.
    Thanks a lot,
    Ramesh
    0
  • Hi,

    I'm the author of the article in the YDN blog. You're right Ramesh, it doesn't use YQL, rather it uses the older Address Book APIs.
    0
  • just give a count parameter with the value of contacts needed. you'll get all contacts..
    0

Recent Posts

in Contacts