page_number parameter not working?

19 views
Skip to first unread message

Andrew Olsen

unread,
Apr 8, 2025, 9:10:40 PMApr 8
to fatsecret Platform API
I'm trying to pass the page number as a parameter and it fails to return the results for the specified page. It always returns the results for page 0.

https://platform.fatsecret.com/rest/server.api?method=foods.search.v3&search_expression={Uri.EscapeDataString(query)}&page_number={pageNumber}&max_results=50&format=json

This is how I'm sending the request to the server, where the default value for PageNumber is 1. I'm curious if I'm using the parameter incorrectly or if there's a different issue.

seba...@fatsecret.com

unread,
Apr 8, 2025, 9:13:23 PMApr 8
to fatsecret Platform API
Thanks for reaching out, Andrew.
Please see attached:

/foods/search/v3?search_expression=chicken&format=json&page_number=3&max_results=50&region=us

Screenshot 2025-04-09 at 11.11.59.png
Reply all
Reply to author
Forward
0 new messages