Desktop/mobile browser different result
-
When using the API in a desktop browser with the following link 10 results are returned:
https://www.url.com/api/get_category_posts/?slug=slug&count=10
But using the same link with getJSON, 5 results are returned no matter what the value of “count” is:
jQuery.getJSON("https://www.vespino.nl/api/get_category_posts/?slug=onze-maud&count=10&callback=?", function(data) { alert(JSON.stringify(data, null, ' ')); });
Strangely this last thing is only when used on mobile browsers like iPhone of on an Android device.
Can this be overruled or am I doing something wrong or is this a jQuery bug?
Newer or older versions of jQuery all seem to have this problem.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Desktop/mobile browser different result’ is closed to new replies.