I am using the API w/php to retrieve member data. Have no problem retrieving fullName & gender, but when I add profileQuestions to the query, it appears to timeout. Any idea why?
Example:
$count = 100;
$fields = "fullName,gender,profileQuestions";
$path = sprintf("User/alpha?count=%s&fields=%s&isMember=true", $count, $fields);
$result = $ningApi->get($path);
One other question. I am writing a script that needs to pull profileQuestion field data for ALL my members, not just 100 of them. Is there any way around the 100 member limit in the API?
Tags:
A few questions:
It is possible to page through results. The anchor variable returned in a list result. If you include it as a parameter on your next request, you'll get the next page of results. For example, the first request would be:
/User/alpha?count=50
It will return an anchor such as sBLHSuPH8xNPdBxyRHy3pw with the rest of he results. It can be used for the next page of results:
/User/alpha?count=50&anchor=sBLHSuPH8xNPdBxyRHy3pw
Also, If you don't mind, send me a private message with your network URL.
Posted by Kyle Ford on October 13, 2010 at 8:00am 3 Comments 3 Likes
Posted by Phil McCluskey on October 1, 2010 at 8:55am 0 Comments 1 Like
Posted by Kyle Ford on September 30, 2010 at 8:30pm 1 Comment 1 Like
© 2023 Created by Build Team.
Powered by