facebook javaScript sdk event invited not working properly -


i'm trying invited event via javascript. i've done log in, , have access event, have problem when request people invited. result, length of invited array 25 , should more. noticed people haves rsvp_status = "attending"

fb.api(             "/"+id+"/invited",             function (response) {                 if (response && !response.error) {                     $scope.attending = response.data;                     $scope.$digest();                 }             }       ); 

the count of people invited event should 103 , participants 51

25 standard limit of results returned graph api. either have implement paging (that preferred way, via paging object's next property), or increase limit of results via limit parameter.

note limit can't set large number (like 10000), because graph api truncete results. afaik there's no documented maximum size.

 fb.api(         "/"+id+"/invited?limit=200",         function (response) {             if (response && !response.error) {                 $scope.attending = response.data;                 $scope.$digest();             }         }   ); 

see


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -