MAXSTEELTURBOGO / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

GetEvents returns Null for large/long number of eids #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.call GetEvents(uid,null,currentDate,tomorrowsDate);

after running test to determine why call came back null, realized that all 
errors came from people with considerably longer lists of events than 
others. After re-calling GetEvents multiple times, returns proper response.
The number of re-calls required to get the correct respose seems to vary, 
(same uid, same day's testing). Therefore guessing that it is a 
connectivity issue, is it possible to create a call that incrementally 
populates the EventCollection, such as, query 10 eids at a time until it 
reaches the length of the uid's eids? 

What version of the product are you using? On what operating system?

3.0 - 3.2 (happens with all)

Original issue reported on code.google.com by wholenew...@gmail.com on 9 Jun 2009 at 7:25

GoogleCodeExporter commented 9 years ago
This would not be an API fix; how ever, yes, you could create custom calls 
specific
to your application by using the BatchAPI, or a custom query method that would
request events at X events a time.  Also, the api support date limiting, so 
instead
of requesting all the events, you can request only the last weeks, or 2 weeks 
worth.
One last thing that may help with the null issue is using FQL, and only request 
the
specific data you need, this will greatly reduce the load on Facebook's 
servers, and
reduce any timeout issues that may be occurring.  Hope this helps you!

Original comment by wgorgic...@gmail.com on 31 Jul 2009 at 5:40