Code Monkey home page Code Monkey logo

shopify_app_development_tutorials's Issues

print "Failed to get access token: ", resp.status_code, resp.text

Hi Bro
I see this code
print "Failed to get access token: ", resp.status_code, resp.text
---->
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Failed to get access token: ", resp.status_code, resp.text)?

I also changed to
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Failed to get access token: ", resp.status_code, resp.text)?

But have new problems
File "app.py", line 62
app.run(host='127.0.0.1', port=3000)
^
IndentationError: expected an indented block

App doesn't redirect back into shopify /admin/ dashboard on install

Hey bro,

any idea on how to get the app to redirect back into shopify e.g *.myshopify.com/admin/app-name/ on install? In it's current state it redirects to the site externally where the app is being hosted. e.g https://testserver.com/connect not back to the shopify admin dashboard inside the iframe as you would expect.
When I try and redirect it back to the shopify admin dashboard /admin/app-name/ via html, http redirect & shopify bridge js something breaks and I get the following message:

Oauth error invalid_request: The authorization code was not found or was already used

any pointers would be most appreciated

Cheers,
henry
str8up.media

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.