connecting to shopify via visual basic

Hi, I would like to connect my visual basic application to shopify but, after reading their documentation, I'm really confused about how to do it, can someone point me in the right direction?
Buropro-CitationAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MlandaTCommented:
Will this (http://seriouscodage.blogspot.com/2013/12/using-shopify-api-from-net.html) help?

Where exactly is your confusion?
Buropro-CitationAuthor Commented:
Shopify does not offer much documentation, I was not sure if I was better with oauth2 (which I'm not sure what it is) or .NET and I was having a hard time getting an example on how to use the API.  

There is the ZIP file at https://github.com/cmcdonaldca/shopify.net which is the shopify API library and the only link offered by shopify but when I open it with visual studio 2013, I'm getting an error saying that it can't load samplewebapp and can't migrate.

I was also wondering, in many web Platform that I have programmed in the past, there was alway's a way to communicate via an XML file sent to a specific address, I'm not sure if shopify offers this since I saw on a web page XML coding.
Buropro-CitationAuthor Commented:
Hi MlandaT, I have tried the sample code that was in the link you provided, I was able to get a list of products or customers, next step is to create and modify a product, I'll take a look a the API Library to see if there's something I can grab there.
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

MlandaTCommented:
Brilliant! Glad to see you are making headway. I'm not a Shopify developer myself, so cannot really help you further :(
Buropro-CitationAuthor Commented:
I was able to move forward using the https://github.com/cmcdonaldca/shopify.net small incomplete example shown on that web page but there is a command that is not accepted by c#, it is the commande line:

Redirect(authUrl);

Can someone tell me what this could be based on the code seen on that web page?    It seems to be a command to go to a url.
MlandaTCommented:
Shopify use OAuth (https://docs.shopify.com/api/authentication/oauth). That redirect is a redirect from your application to the Shopify Authentication page https://docs.shopify.com/assets/images/api/oauth-app-permissions.png?1440777653, this page will need to know how to get back to your application once the user has given the necessary authorisations
Uri returnURL = new Uri("http://yourappdomain.com/HandleAuthorization");

Open in new window

. A full discussion of OAuth is lengthy. I'll refer you to Google (though this might also help explain the workflow: http://hueniverse.com/oauth/guide/workflow/)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Buropro-CitationAuthor Commented:
Thank you MLanda, the problem I'm experiencing is that c# (visual studio 2013) doesn't recognize the redirect command and won't compile, maybe I'm missing a Library or something.

I'll take a look at the documentation about Oauth.
MlandaTCommented:
If yours is a web application, that would be Response.Redirect instead of just Redirect. However, if it's not a web application, gets trickier.
Buropro-CitationAuthor Commented:
After talking to a friend, he saw that the  https://github.com/cmcdonaldca/shopify.net exemple is not a very good one, we decided to code our own .NET API solution and start from scratch a much simpler version.    Best advice is to use the shopify documentation on objects even though there is no code example instead of relying to the code on github.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
E-Commerce

From novice to tech pro — start learning today.