Postman OAuth1

80 views
Skip to first unread message

Noah Griffiths

unread,
May 3, 2023, 6:23:46 PMMay 3
to FatSecret Platform API
Hi all,

I'm making a flutter healthy eating application and I want to use the FatSecret API in my application, so the user can search for foods in the FatSecret database (much like Nutracheck and MyFitnessPal). 

However, I've had some issues using FatSecret and Postman. 

OAuth1

For OAuth1, I've used added my consumer key, my consumer secret and the version number in the Auth section in Postman. I've added the request URL too: http://platform.fatsecret.com/rest/server.api.
However, Postman auto generates the timestamp, the nonce and the oauth_signature, but I receive this error message:

{
    "error": {
        "code"6,
        "message""Invalid/expired timestamp: oauth_timestamp '1683040463'"
    }
}
Reply all
Reply to author
Forward
0 new messages