I\'m trying to connect to the fitbit api using the httr library.
Using the examples provided, I came up with the following code:
library(httr)
key &
The only thing I notice is that your call to get the signature is slightly different than the httr examples. The httr examples are:
sig <- sign_oauth1.0(myapp, token$oauth_token, token$oauth_token_secret)
While your code is:
sig <- sign_oauth1.0(fbr,
token=token$oauth_token,
token_secret=token$oauth_token_secret
)
Do you need the "token=" and "token_secret=" in your code?