Cannot find documentation for this ...
The following code is currently used to get a list of my photos:
FacebookApp fb = new FacebookApp(accessToken);
dynamic test = fb.Get("me/photos");
I look at the first 25 photos that he returns. Plain.
Now, how to do this to return the next 25?
So far I have tried this:
FacebookApp fb = new FacebookApp(accessToken);
string query = "me/photos";
while (true)
{
dynamic test = fb.Get(query);
foreach (dynamic each in test.data)
{
}
query = test.paging.next;
}
but it does not work:
Could not parse '2010-08-30T17%3A58%3A56%2B0000' into a date or time.
Should I use a new variable dynamicfor each request, or will I completely change that?
source
share