Coder Social home page Coder Social logo

Token about shopify-flutter-demo HOT 17 CLOSED

officialmahak avatar officialmahak commented on May 20, 2024
Token

from shopify-flutter-demo.

Comments (17)

officialmahak avatar officialmahak commented on May 20, 2024 1

Please check your Linkedin

Regards

from shopify-flutter-demo.

mehulmk avatar mehulmk commented on May 20, 2024

Hello,
https://shopify.dev/apps/auth/basic-http
follow this link and generate Shopify access token for private app.
its looks like shppa_adgjgsdfsjkgdjfsgdjgh
and base url is like https://{shop}.myshopify.com/admin/api/2022-01/
Let me know if need any more help
Thanks

from shopify-flutter-demo.

officialmahak avatar officialmahak commented on May 20, 2024

Hello,

I change API and my Shopify URL in key_util.dart
After running this app it shows errors
https://ibb.co/R6WKcZv

Regards

from shopify-flutter-demo.

officialmahak avatar officialmahak commented on May 20, 2024

I already tried API, Shared Secret & Storefront access token but same issue

from shopify-flutter-demo.

CodeGetIT avatar CodeGetIT commented on May 20, 2024

we are getting the error message

from shopify-flutter-demo.

CodeGetIT avatar CodeGetIT commented on May 20, 2024

can you please help me out

from shopify-flutter-demo.

mehulmk avatar mehulmk commented on May 20, 2024

Sorry for late reply

1)You need to add product to you shopify data base(i have already add dummy product github link in readme file).
Screenshot 2022-01-18 at 3 41 12 PM

2)and then you need to create different collection for category, offer, banner etc
Screenshot 2022-01-18 at 3 45 01 PM

3)then replace that collection id in key_util.dart file
Screenshot 2022-01-18 at 3 57 58 PM

Screenshot 2022-01-18 at 4 01 42 PM

let me know if you need more help
Thanks

from shopify-flutter-demo.

officialmahak avatar officialmahak commented on May 20, 2024

Hello,

Please check
I changed all the Collection ID but the same issue

Screenshot 2022-01-18 at 10 05 37 PM

Regards

from shopify-flutter-demo.

mehulmk avatar mehulmk commented on May 20, 2024

Hello,
can you try to call this( https://{shop}.com/admin/api/2021-10/collects.json ) api in post man.
You need to pass X-Shopify-Access-Token in header.
and it must return list of all collection of your shopify database.
Like this...
Screenshot 2022-01-29 at 10 59 36 AM

And if its not return collection list then you need to do some research about way this api is not working and try to make this api working.
Once this api return the collection list then i think in your app data will reflected.
Let me know you need any more help
thanks

from shopify-flutter-demo.

officialmahak avatar officialmahak commented on May 20, 2024

Hello,

Thanks for help

It returns 401 error with
{
"errors": "[API] Invalid API key or access token (unrecognized login or wrong password)"
}

Regards

from shopify-flutter-demo.

mehulmk avatar mehulmk commented on May 20, 2024

It's seems like you are using wrong access token.
Token looks like shppa_adgjgsdfsjkgdjfsgdjgh this(private app token start with shppa....
So pls try to replace the token maybe after that it will be working fine.
Let me know if you need more help.
Thanks

from shopify-flutter-demo.

officialmahak avatar officialmahak commented on May 20, 2024

Hello,

If I enter my Example URL then its works fine and if I enter my store URL with https://{shop}.com/admin/api/2021-10/collects.json then it shows 401

Best Regards

from shopify-flutter-demo.

mehulmk avatar mehulmk commented on May 20, 2024

My example url means you store url right ?

from shopify-flutter-demo.

officialmahak avatar officialmahak commented on May 20, 2024

yes
https://sakurameds.myshopify.com/admin/api/2022-01/collects.json

If you want then i will privately message you my key and secret

Regards

from shopify-flutter-demo.

mehulmk avatar mehulmk commented on May 20, 2024

Right you need to use your shope url.
https://{shop}.com/admin/api/2021-10/collects.json here I hide my store domain with {shop}.
So use your url in key_util.dart.(in base_url params)

from shopify-flutter-demo.

officialmahak avatar officialmahak commented on May 20, 2024

Thanks

Could you please test my store keys on postman?
please drop your email or anything
i will provide you my credentials

Regards

from shopify-flutter-demo.

mehulmk avatar mehulmk commented on May 20, 2024

Sure,
I had added developer contact details in ReadMe file.

from shopify-flutter-demo.

Related Issues (3)

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.