-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue Logging In #24
Comments
Can you give the code in here a try? https://github.com/AlexGhiondea/SmugMug.NET/blob/master/src/SmugMugTest.v2/Program.cs |
And if you are not using the v2 of the API, here is how to do it: https://github.com/AlexGhiondea/SmugMug.NET/blob/master/src/SmugMugTest/Program.cs |
I will try later tonight... From: AlexGhiondea [mailto:[email protected]] Can you give the code in here a try? https://github.com/AlexGhiondea/SmugMug.NET/blob/master/src/SmugMugTest.v2/Program.cs — |
Where is the SmugMugSecretsAccess class found? The VS is not finding the reference. I can create my own version but if it already exists I'd prefer to use that. By commenting calls to that out temporarily I am able to get it to work - thanks. From: AlexGhiondea [mailto:[email protected]] And if you are not using the v2 of the API, here is how to do it: https://github.com/AlexGhiondea/SmugMug.NET/blob/master/src/SmugMugTest/Program.cs — |
In the TestImage method what is the purpose of the try catch with the cancellation inside prior to the actual upload? From: AlexGhiondea [mailto:[email protected]] And if you are not using the v2 of the API, here is how to do it: https://github.com/AlexGhiondea/SmugMug.NET/blob/master/src/SmugMugTest/Program.cs — |
@dcatanoso I think the TestImage also tests that you can cancel an upload. Here is the class that stores the credentials in an encrypted fashion: https://github.com/AlexGhiondea/SmugMug.NET/blob/9f55b2f3f9456b366a3e1701629f4be3490a1ddb/src/SmugMugTest/SmugMugSecretsAccess.cs |
Alex, That worked I am able to upload photo and video. Some additional questions. All the albums I'm creating are ending up in the "Other" folder. Can you provide a sample of navigating to a specific existing folder and then creating a folder in that location? Also what is the best method to obtain the "return" URL for the created album and for each image / video. I need this pass on to another application so it can browse directly to the image. From: AlexGhiondea [mailto:[email protected]] @dcatanoso https://github.com/dcatanoso I think the TestImage also tests that you can cancel an upload. Here is the class that stores the credentials in an encrypted fashion: https://github.com/AlexGhiondea/SmugMug.NET/blob/9f55b2f3f9456b366a3e1701629f4be3490a1ddb/src/SmugMugTest/SmugMugSecretsAccess.cs — |
Questions:
If this does not work, let me know and I will dig into this a bit more |
Can you provide an updated example using v1.3.0 and oAuth - I've tried using the login example on the documentation tab but it shows logging in with User Name and Password however the login method only accepts a request token. The following code results in an error ({"Object reference not set to an instance of an object."}) when executing the mySite.GetAccessToken method:
The text was updated successfully, but these errors were encountered: