{"activityFiles":[{"userId":"f3d251ed-e12f-470f-9589-3bcb8a49eda8","userAccessToken":"1033030f-5847-4d90-9e10-3bb7fe1e29f8","summaryId":"39092291772","fileType":"FIT","callbackURL":"https://healthapi.garmin.com/wellness-api/rest/activityFile?id=31174708306","startTimeInSeconds":1566006366}]}
$request = 'Authorization: OAuth'; $request .=' oauth_consumer_key="'.$oauth_consumer_key.'"'; $request .= ', oauth_nonce="'.$oauth_nonce.'"'; $request .= ', oauth_signature_method="HMAC-SHA1'.'"'; $request .= ', oauth_signature="'.$oauth_signature.'"';
I have tried using the PHP libraries recommended in the OAuth SDK doco:
"Note:Implementing OAuth signing manually can be quite complex. It is recommended that all partner integrations leverage an existing OAuth client library. A list of OAuth libraries that supposed OAuth v1.0 by language is maintained at https://oauth.net/1/."
but I can't get to first base on implementation as I can't interpret the user notes.
Has anyone used either of the PHP packages : "PHP OAuth client" or "OAuth component for CakePHP" ?