Quick question. One of the required parameters for food.find_id_for_barcode is the oauth_token associated with the profile in use. Up to this point I haven't used the profile methods, but I have used the FatSecret Calorie Counter on my phone, so I tried using my username "Clark248" to get a token. It returned that the user_id did not exist, so I created one called Clark248 and took note of the token and secret. Since the token is the only additional parameter it is the only thing I added to my class that builds the request string. However, when I make a call using a small SunChips bag UPC_A : 028400021531 (as well as with one more zero added on the left) I get the following error
"error":{"code":8,"message":"Invalid signature: oauth_signature '6EHeVn4H0kZ5pDOd49ti3PkoQHs='"}
I'm wondering if this is because I am using the SECRET that I got with my API KEY with the token associated with "Clark248". If so, how do I get a token that will work with my API KEY and SECRET?
Any help is much appreciated.
All the best,
Tyler