Working with OAuth API after Authentication

bmcbridebmcbride Registered Users Posts: 7 Big grins
I am able to get the access token and secret from the API, however, once I have that, I get an error when trying to use any functions.

If we make the following call:


We get this error:


We need to write the signature ourselves, but I have tested with Postman with the same results.

We are able to get authenticated, so that makes me believe that our method for creating the signature is correct.

Any help would be appreciated.


  • Options
    bmcbridebmcbride Registered Users Posts: 7 Big grins
    edited October 29, 2019
    And I have checked, my sbs matches the sbs in the result.
  • Options
    devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee

    G'day bmcbride,

    I think the issue is that you have included the oauth_callback argument. This argument should only be sent during the authentication process and not on typical api calls.

    Can you please try removing that and see how you go.



    David Parry
    SmugMug API Developer
    My Photos
  • Options
    bmcbridebmcbride Registered Users Posts: 7 Big grins
    Thanks David, got it working now.
  • Options
    AndyAndy Registered Users Posts: 50,016 Major grins

    :wink: Thanks Dev!

Sign In or Register to comment.