This project is read-only.

smugmug.auth.getAccessToken : getting message "invalid/expired token"

Sep 19, 2016 at 6:12 AM
Edited Sep 19, 2016 at 6:13 AM

I am using SmugMugModel 1.3.0 source code into one of my application, I get RequestToken correctly but at time of AccessToken I get error message with "invalid/expired token" and code is:36.

Used code block:

SmugMugModel.Site site = new SmugMugModel.Site(Smugmug_CONSUMER_KEY,Smugmug_CONSUMER_SECRET);
SmugMugModel.Token tok_Req = site.GetRequestToken();
SmugMugModel.Token tok_ = site.GetAccessToken(tok_Req);

While debugging GetAccessToken() I get error message. Can anybody please guide me how to fix it.

Let me know if any kind of further input is required from my side.
Any help or pointers would be much appreciated.