Nieoczekiwane zachowanie podczas używania FQL
Dodanie opcji LIMIT do FQL powoduje powrót WIĘCEJ wyników niż bez LIMITU. Dla przykładu:
SELECT post_id, actor_id, message,description,type FROM stream WHERE source_id = me()
zwraca 4 wyniki:
{ "data": [
{
"post_id": "1458319848_4164228991531",
"actor_id": 1458319848,
"message": "Oh happy days!",
"description": null,
"type": 46
},
{
"post_id": "1458319848_4081409841104",
"actor_id": 1458319848,
"message": "",
"description": "Caroline Natan and Or Karlinsky are now friends.",
"type": null
},
{
"post_id": "1458319848_4076275592751",
"actor_id": 1458319848,
"message": "",
"description": "Caroline Natan changed her Interested In.",
"type": null
},
{
"post_id": "1458319848_4075703458448",
"actor_id": 100001179537125,
"message": "",
"description": null,
"type": 237
}]}
Ale używając:
SELECT post_id, actor_id, message,description,type FROM stream WHERE source_id = me() LIMIT 9
zwraca5 wyniki:
{"data": [
{
"post_id": "1458319848_4164228991531",
"actor_id": 1458319848,
"message": "Oh happy days!",
"description": null,
"type": 46
},
{
"post_id": "1458319848_4081409841104",
"actor_id": 1458319848,
"message": "",
"description": "Caroline Natan and Or Karlinsky are now friends.",
"type": null
},
{
"post_id": "1458319848_4076275592751",
"actor_id": 1458319848,
"message": "",
"description": "Caroline Natan changed her Interested In.",
"type": null
},
{
"post_id": "1458319848_4075703458448",
"actor_id": 100001179537125,
"message": "",
"description": null,
"type": 237
},
{
"post_id": "1458319848_4069875152744",
"actor_id": 100000876758120,
"message": "",
"description": null,
"type": 237
}]}
Oczywiście, że NIE MA ŻADNEGO ZMYSŁU! Czy coś mi umyka? Jeśli tak to co? Czytałem teżto, Nie widziałem niczego w związku z opisanym tutaj problemem.
Z góry dziękuję.